mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle PeerTest msg 1
This commit is contained in:
parent
0640bec026
commit
2e4d8cdc8b
4 changed files with 78 additions and 10 deletions
|
@ -54,6 +54,7 @@ namespace transport
|
|||
void AddSessionByRouterHash (std::shared_ptr<SSU2Session> session);
|
||||
void AddPendingOutgoingSession (std::shared_ptr<SSU2Session> session);
|
||||
std::shared_ptr<SSU2Session> FindSession (const i2p::data::IdentHash& ident) const;
|
||||
std::shared_ptr<SSU2Session> GetRandomSession (i2p::data::RouterInfo::CompatibleTransports remoteTransports) const;
|
||||
|
||||
void AddRelay (uint32_t tag, std::shared_ptr<SSU2Session> relay);
|
||||
void RemoveRelay (uint32_t tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue