assign GarlicRoutingSession to stream

This commit is contained in:
orignal 2014-08-29 22:10:00 -04:00
parent b6a3f64ee9
commit 17725acda2
4 changed files with 41 additions and 30 deletions

View file

@ -16,6 +16,7 @@
#include "LeaseSet.h"
#include "I2NPProtocol.h"
#include "TunnelPool.h"
#include "Garlic.h"
namespace i2p
{
@ -127,6 +128,7 @@ namespace stream
StreamingDestination * m_LocalDestination;
i2p::data::IdentityEx m_RemoteIdentity;
const i2p::data::LeaseSet * m_RemoteLeaseSet;
i2p::garlic::GarlicRoutingSession * m_RoutingSession;
i2p::data::Lease m_CurrentRemoteLease;
i2p::tunnel::OutboundTunnel * m_CurrentOutboundTunnel;
std::queue<Packet *> m_ReceiveQueue;