inbound zero-hops tunnel

This commit is contained in:
orignal 2016-03-02 16:12:02 -05:00
parent 81b72d5481
commit fa67e90767
3 changed files with 35 additions and 7 deletions

View file

@ -119,6 +119,7 @@ namespace tunnel
InboundTunnel (std::shared_ptr<const TunnelConfig> config): Tunnel (config), m_Endpoint (true) {};
void HandleTunnelDataMsg (std::shared_ptr<const I2NPMessage> msg);
void SendTunnelDataMsg (std::shared_ptr<i2p::I2NPMessage> msg); // for zero-hops only
size_t GetNumReceivedBytes () const { return m_Endpoint.GetNumReceivedBytes (); };
void Print (std::stringstream& s) const;