mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
more of SAM debug logging
This commit is contained in:
parent
7c21712e80
commit
8e266058ae
2 changed files with 34 additions and 30 deletions
|
@ -79,8 +79,8 @@ namespace client
|
|||
public:
|
||||
|
||||
SAMSocket (SAMBridge& owner);
|
||||
~SAMSocket ();
|
||||
void CloseStream (); // TODO: implement it better
|
||||
~SAMSocket ();
|
||||
void CloseStream (const char* reason); // TODO: implement it better
|
||||
|
||||
boost::asio::ip::tcp::socket& GetSocket () { return m_Socket; };
|
||||
void ReceiveHandshake ();
|
||||
|
@ -90,6 +90,7 @@ namespace client
|
|||
void Terminate ();
|
||||
private:
|
||||
|
||||
void Terminate (const char* reason);
|
||||
void HandleHandshakeReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
void HandleHandshakeReplySent (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
void HandleMessage (const boost::system::error_code& ecode, std::size_t bytes_transferred);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue