mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
more overrides
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
96cfd9acc2
commit
a315e4ce62
@ -134,7 +134,7 @@ namespace transport
|
|||||||
~NTCP2Session ();
|
~NTCP2Session ();
|
||||||
void Terminate ();
|
void Terminate ();
|
||||||
void TerminateByTimeout ();
|
void TerminateByTimeout ();
|
||||||
void Done ();
|
void Done () override;
|
||||||
void Close () { m_Socket.close (); }; // for accept
|
void Close () { m_Socket.close (); }; // for accept
|
||||||
void DeleteNextReceiveBuffer (uint64_t ts);
|
void DeleteNextReceiveBuffer (uint64_t ts);
|
||||||
|
|
||||||
@ -142,14 +142,14 @@ namespace transport
|
|||||||
const boost::asio::ip::tcp::endpoint& GetRemoteEndpoint () { return m_RemoteEndpoint; };
|
const boost::asio::ip::tcp::endpoint& GetRemoteEndpoint () { return m_RemoteEndpoint; };
|
||||||
void SetRemoteEndpoint (const boost::asio::ip::tcp::endpoint& ep) { m_RemoteEndpoint = ep; };
|
void SetRemoteEndpoint (const boost::asio::ip::tcp::endpoint& ep) { m_RemoteEndpoint = ep; };
|
||||||
|
|
||||||
bool IsEstablished () const { return m_IsEstablished; };
|
bool IsEstablished () const override { return m_IsEstablished; };
|
||||||
bool IsTerminated () const { return m_IsTerminated; };
|
bool IsTerminated () const { return m_IsTerminated; };
|
||||||
|
|
||||||
void ClientLogin (); // Alice
|
void ClientLogin (); // Alice
|
||||||
void ServerLogin (); // Bob
|
void ServerLogin (); // Bob
|
||||||
|
|
||||||
void SendLocalRouterInfo (bool update); // after handshake or by update
|
void SendLocalRouterInfo (bool update) override; // after handshake or by update
|
||||||
void SendI2NPMessages (const std::vector<std::shared_ptr<I2NPMessage> >& msgs);
|
void SendI2NPMessages (const std::vector<std::shared_ptr<I2NPMessage> >& msgs) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user