mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
understandable construction for client tunnels
This commit is contained in:
parent
008fb561b8
commit
c86a1f63a2
6 changed files with 19 additions and 4 deletions
|
@ -135,6 +135,8 @@ namespace client
|
|||
void Start ();
|
||||
void Stop ();
|
||||
const char * GetName () const { return m_Name.c_str(); }
|
||||
const std::string GetRemoteDestination() { return m_RemoteDest; }
|
||||
uint16_t GetRemoteDestinationPort() { return RemotePort; }
|
||||
std::vector<std::shared_ptr<DatagramSessionInfo> > GetSessions ();
|
||||
|
||||
bool IsLocalDestination (const i2p::data::IdentHash & destination) const { return destination == m_LocalDest->GetIdentHash(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue