moved remote RI and identity to TransportSession

This commit is contained in:
orignal 2014-10-24 15:50:48 -04:00
parent c9abb62988
commit 6281fa625a
5 changed files with 21 additions and 20 deletions

3
SSU.h
View file

@ -72,7 +72,6 @@ namespace transport
void WaitForIntroduction ();
void Close ();
boost::asio::ip::udp::endpoint& GetRemoteEndpoint () { return m_RemoteEndpoint; };
const i2p::data::RouterInfo * GetRemoteRouter () const { return m_RemoteRouter; };
void SendI2NPMessage (I2NPMessage * msg);
void SendPeerTest (); // Alice
@ -129,8 +128,6 @@ namespace transport
friend class SSUData; // TODO: change in later
SSUServer& m_Server;
boost::asio::ip::udp::endpoint m_RemoteEndpoint;
const i2p::data::RouterInfo * m_RemoteRouter;
i2p::data::IdentHash m_RemoteIdent; // if m_RemoteRouter is null
boost::asio::deadline_timer m_Timer;
bool m_PeerTest;
SessionState m_State;