mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
466 B
32 lines
466 B
11 years ago
|
#ifndef TUNNEL_ENDPOINT_H__
|
||
|
#define TUNNEL_ENDPOINT_H__
|
||
|
|
||
|
#include <inttypes.h>
|
||
|
#include <map>
|
||
|
#include <string>
|
||
|
#include "I2NPProtocol.h"
|
||
|
#include "TunnelBase.h"
|
||
|
|
||
|
namespace i2p
|
||
|
{
|
||
|
namespace tunnel
|
||
|
{
|
||
|
class TunnelEndpoint
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
void HandleDecryptedTunnelDataMsg (I2NPMessage * msg);
|
||
|
|
||
|
private:
|
||
|
|
||
|
void HandleNextMessage (const TunnelMessageBlock& msg);
|
||
|
|
||
|
private:
|
||
|
|
||
|
std::map<uint32_t, TunnelMessageBlock> m_IncompleteMessages;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|