I2CPDestination added

This commit is contained in:
orignal 2016-05-27 13:46:28 -04:00
parent 5ad10955be
commit 8622385e88
2 changed files with 31 additions and 0 deletions

View file

@ -8,6 +8,12 @@ namespace i2p
{
namespace client
{
I2CPDestination::I2CPDestination (I2CPSession& owner, std::shared_ptr<const i2p::data::IdentityEx> identity, bool isPublic):
LeaseSetDestination (isPublic), m_Owner (owner), m_Identity (identity)
{
}
I2CPSession::I2CPSession (I2CPServer& owner, std::shared_ptr<boost::asio::ip::tcp::socket> socket):
m_Owner (owner), m_Socket (socket),
m_NextMessage (nullptr), m_NextMessageLen (0), m_NextMessageOffset (0)