mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
some cleanup
This commit is contained in:
parent
17acdcc4d5
commit
0c8fb376db
5 changed files with 1 additions and 33 deletions
|
@ -832,17 +832,6 @@ namespace transport
|
|||
}
|
||||
}
|
||||
|
||||
void SSUSession::SendI2NPMessage (std::shared_ptr<I2NPMessage> msg)
|
||||
{
|
||||
GetService ().post (std::bind (&SSUSession::PostI2NPMessage, shared_from_this (), msg));
|
||||
}
|
||||
|
||||
void SSUSession::PostI2NPMessage (std::shared_ptr<I2NPMessage> msg)
|
||||
{
|
||||
if (msg &&m_State == eSessionStateEstablished)
|
||||
m_Data.Send (msg);
|
||||
}
|
||||
|
||||
void SSUSession::SendI2NPMessages (const std::vector<std::shared_ptr<I2NPMessage> >& msgs)
|
||||
{
|
||||
GetService ().post (std::bind (&SSUSession::PostI2NPMessages, shared_from_this (), msgs));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue