|
|
@ -15,6 +15,7 @@ namespace tunnel |
|
|
|
public: |
|
|
|
public: |
|
|
|
TunnelGatewayBuffer (uint32_t tunnelID): m_TunnelID (tunnelID), |
|
|
|
TunnelGatewayBuffer (uint32_t tunnelID): m_TunnelID (tunnelID), |
|
|
|
m_CurrentTunnelDataMsg (nullptr), m_RemainingSize (0) {}; |
|
|
|
m_CurrentTunnelDataMsg (nullptr), m_RemainingSize (0) {}; |
|
|
|
|
|
|
|
~TunnelGatewayBuffer (); |
|
|
|
void PutI2NPMsg (const TunnelMessageBlock& block); |
|
|
|
void PutI2NPMsg (const TunnelMessageBlock& block); |
|
|
|
const std::vector<I2NPMessage *>& GetTunnelDataMsgs () const { return m_TunnelDataMsgs; }; |
|
|
|
const std::vector<I2NPMessage *>& GetTunnelDataMsgs () const { return m_TunnelDataMsgs; }; |
|
|
|
void ClearTunnelDataMsgs (); |
|
|
|
void ClearTunnelDataMsgs (); |
|
|
|