|
|
@ -55,6 +55,7 @@ namespace transport |
|
|
|
void RemoveSession (uint64_t connID); |
|
|
|
void RemoveSession (uint64_t connID); |
|
|
|
void AddSessionByRouterHash (std::shared_ptr<SSU2Session> session); |
|
|
|
void AddSessionByRouterHash (std::shared_ptr<SSU2Session> session); |
|
|
|
bool AddPendingOutgoingSession (std::shared_ptr<SSU2Session> session); |
|
|
|
bool AddPendingOutgoingSession (std::shared_ptr<SSU2Session> session); |
|
|
|
|
|
|
|
void RemovePendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep); |
|
|
|
std::shared_ptr<SSU2Session> FindSession (const i2p::data::IdentHash& ident) const; |
|
|
|
std::shared_ptr<SSU2Session> FindSession (const i2p::data::IdentHash& ident) const; |
|
|
|
std::shared_ptr<SSU2Session> FindPendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep) const; |
|
|
|
std::shared_ptr<SSU2Session> FindPendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep) const; |
|
|
|
std::shared_ptr<SSU2Session> GetRandomSession (i2p::data::RouterInfo::CompatibleTransports remoteTransports) const; |
|
|
|
std::shared_ptr<SSU2Session> GetRandomSession (i2p::data::RouterInfo::CompatibleTransports remoteTransports) const; |
|
|
|