mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved num sent/received bytes to TransportSession
This commit is contained in:
parent
76ad7f24ee
commit
a72d7652af
5 changed files with 9 additions and 10 deletions
|
@ -64,9 +64,6 @@ namespace transport
|
|||
void ServerLogin ();
|
||||
void SendI2NPMessage (I2NPMessage * msg);
|
||||
void SendI2NPMessages (const std::vector<I2NPMessage *>& msgs);
|
||||
|
||||
size_t GetNumSentBytes () const { return m_NumSentBytes; };
|
||||
size_t GetNumReceivedBytes () const { return m_NumReceivedBytes; };
|
||||
|
||||
private:
|
||||
|
||||
|
@ -138,7 +135,6 @@ namespace transport
|
|||
bool m_IsSending;
|
||||
std::vector<I2NPMessage *> m_SendQueue;
|
||||
|
||||
size_t m_NumSentBytes, m_NumReceivedBytes;
|
||||
boost::asio::ip::address m_ConnectedFrom; // for ban
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue