mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
I2CPDestination added
This commit is contained in:
parent
5ad10955be
commit
8622385e88
2 changed files with 31 additions and 0 deletions
6
I2CP.cpp
6
I2CP.cpp
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue