mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
allow NTCP2 only transports
This commit is contained in:
parent
ee700ac861
commit
a2c41c9e36
2 changed files with 4 additions and 2 deletions
|
@ -81,6 +81,7 @@ namespace transport
|
|||
|
||||
bool IsBoundNTCP() const { return m_NTCPServer != nullptr; }
|
||||
bool IsBoundSSU() const { return m_SSUServer != nullptr; }
|
||||
bool IsBoundNTCP2() const { return m_NTCP2Server != nullptr; }
|
||||
|
||||
bool IsOnline() const { return m_IsOnline; };
|
||||
void SetOnline (bool online) { m_IsOnline = online; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue