Anoncoin  0.9.4
P2P Digital Currency
Static Public Member Functions | Private Member Functions | List of all members
I2PSession Class Reference

#include <i2pwrapper.h>

Inheritance diagram for I2PSession:
[legend]
Collaboration diagram for I2PSession:
[legend]

Static Public Member Functions

static SAM::StreamSessionAdapterInstance ()
 
static std::string GenerateB32AddressFromDestination (const std::string &destination)
 

Private Member Functions

 I2PSession ()
 
 ~I2PSession ()
 
 I2PSession (const I2PSession &)
 
I2PSessionoperator= (const I2PSession &)
 
- Private Member Functions inherited from SAM::StreamSessionAdapter
 StreamSessionAdapter (const std::string &nickname, const std::string &SAMHost=SAM_DEFAULT_ADDRESS, uint16_t SAMPort=SAM_DEFAULT_PORT, const std::string &myDestination=SAM_GENERATE_MY_DESTINATION, const std::string &i2pOptions=SAM_DEFAULT_I2P_OPTIONS, const std::string &minVer=SAM_DEFAULT_MIN_VER, const std::string &maxVer=SAM_DEFAULT_MAX_VER)
 
 ~StreamSessionAdapter ()
 
SAM::SOCKET accept (bool silent)
 
SAM::SOCKET connect (const std::string &destination, bool silent)
 
bool forward (const std::string &host, uint16_t port, bool silent)
 
std::string namingLookup (const std::string &name) const
 
SAM::FullDestination destGenerate () const
 
void stopForwarding (const std::string &host, uint16_t port)
 
void stopForwardingAll ()
 
const SAM::FullDestinationgetMyDestination () const
 
const sockaddr_in & getSAMAddress () const
 
const std::string & getSAMHost () const
 
uint16_t getSAMPort () const
 
const std::string & getNickname () const
 
const std::string & getSAMMinVer () const
 
const std::string & getSAMMaxVer () const
 
const std::string & getSAMVersion () const
 
const std::string & getOptions () const
 
const std::string & getSessionID () const
 

Detailed Description

Definition at line 62 of file i2pwrapper.h.

Constructor & Destructor Documentation

I2PSession::I2PSession ( )
private

Definition at line 194 of file i2pwrapper.cpp.

Here is the call graph for this function:

I2PSession::~I2PSession ( )
private

Definition at line 199 of file i2pwrapper.cpp.

I2PSession::I2PSession ( const I2PSession )
private

Member Function Documentation

std::string I2PSession::GenerateB32AddressFromDestination ( const std::string &  destination)
static

Definition at line 203 of file i2pwrapper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static SAM::StreamSessionAdapter& I2PSession::Instance ( )
inlinestatic

Definition at line 68 of file i2pwrapper.h.

Here is the caller graph for this function:

I2PSession& I2PSession::operator= ( const I2PSession )
private

The documentation for this class was generated from the following files: