understandable construction for client tunnels

This commit is contained in:
weko 2023-05-08 20:28:19 +00:00
parent 008fb561b8
commit c86a1f63a2
6 changed files with 19 additions and 4 deletions

View file

@ -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(); }