i2pd/TunnelPool.h

34 lines
464 B
C
Raw Normal View History

2014-03-14 17:35:02 +01:00
#ifndef TUNNEL_POOL__
#define TUNNEL_POOL__
#include <list>
#include "LeaseSet.h"
namespace i2p
{
namespace tunnel
{
class Tunnel;
class InboundTunnel;
class OutboundTunnel;
class TunnelPool // per local destination
{
public:
TunnelPool ();
~TunnelPool ();
void TunnelCreationFailed (Tunnel * failedTunnel);
void TunnelExpired (InboundTunnel * expiredTunnel);
private:
std::list<InboundTunnel *> m_InboundTunnels;
};
}
}
#endif