mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-11 16:46:51 +02:00
replace GetSession to CreateSession
This commit is contained in:
parent
d01d033209
commit
e194854c6d
3 changed files with 12 additions and 11 deletions
2
SSU.h
2
SSU.h
|
@ -40,7 +40,7 @@ namespace transport
|
|||
~SSUServer ();
|
||||
void Start ();
|
||||
void Stop ();
|
||||
std::shared_ptr<SSUSession> GetSession (std::shared_ptr<const i2p::data::RouterInfo> router, bool peerTest = false);
|
||||
void CreateSession (std::shared_ptr<const i2p::data::RouterInfo> router, bool peerTest = false);
|
||||
std::shared_ptr<SSUSession> FindSession (std::shared_ptr<const i2p::data::RouterInfo> router) const;
|
||||
std::shared_ptr<SSUSession> FindSession (const boost::asio::ip::udp::endpoint& e) const;
|
||||
std::shared_ptr<SSUSession> GetRandomEstablishedSession (std::shared_ptr<const SSUSession> excluded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue