Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
CAListenerInterface Class Reference

Public Member Functions

 CAListenerInterface (const CAListenerInterface &l)
 
CAListenerInterfaceoperator= (const CAListenerInterface &)
 
 ~CAListenerInterface (void)
 
NetworkType getType () const
 
SINT32 getHostName (UINT8 *buff, UINT32 bufflen) const
 
CASocketAddrgetAddr () const
 
bool isHidden () const
 
bool isVirtual () const
 
char * getHostname ()
 
SINT32 toDOMElement (DOMElement *&elem, XERCES_CPP_NAMESPACE::DOMDocument *ownerDoc) const
 

Static Public Member Functions

static CAListenerInterfacegetInstance (const DOMNode *node)
 
static CAListenerInterface ** getInstance (DOMElement *a_elemListenerInterfaces, UINT32 &r_length)
 
static CAListenerInterfacegetInstance (NetworkType type, const UINT8 *path)
 
static CAListenerInterfacegetInstance (NetworkType type, const UINT8 *hostnameOrIP, UINT16 port)
 

Static Public Attributes

static const char * XML_ELEMENT_CONTAINER_NAME = "ListenerInterfaces"
 
static const char * XML_ELEMENT_NAME = "ListenerInterface"
 

Private Member Functions

 CAListenerInterface (void)
 

Private Attributes

CASocketAddrm_pAddr
 
UINT8m_strHostname
 
NetworkType m_Type
 
bool m_bHidden
 
bool m_bVirtual
 

Constructor & Destructor Documentation

◆ CAListenerInterface() [1/2]

CAListenerInterface::CAListenerInterface ( void  )
private

◆ CAListenerInterface() [2/2]

CAListenerInterface::CAListenerInterface ( const CAListenerInterface l)

◆ ~CAListenerInterface()

CAListenerInterface::~CAListenerInterface ( void  )

References m_pAddr, and m_strHostname.

Referenced by CAListenerInterface().

Member Function Documentation

◆ getAddr()

CASocketAddr* CAListenerInterface::getAddr ( ) const

◆ getHostName()

SINT32 CAListenerInterface::getHostName ( UINT8 buff,
UINT32  bufflen 
) const

Referenced by getType().

◆ getHostname()

char* CAListenerInterface::getHostname ( )

References m_strHostname, and toDOMElement().

◆ getInstance() [1/4]

CAListenerInterface * CAListenerInterface::getInstance ( const DOMNode *  node)
static

◆ getInstance() [2/4]

CAListenerInterface ** CAListenerInterface::getInstance ( DOMElement *  a_elemListenerInterfaces,
UINT32 r_length 
)
static

◆ getInstance() [3/4]

CAListenerInterface * CAListenerInterface::getInstance ( NetworkType  type,
const UINT8 path 
)
static

◆ getInstance() [4/4]

CAListenerInterface * CAListenerInterface::getInstance ( NetworkType  type,
const UINT8 hostnameOrIP,
UINT16  port 
)
static

◆ getType()

NetworkType CAListenerInterface::getType ( ) const

References getHostName(), and m_Type.

Referenced by CAMix::initMixCascadeInfo().

◆ isHidden()

bool CAListenerInterface::isHidden ( ) const

◆ isVirtual()

bool CAListenerInterface::isVirtual ( ) const

◆ operator=()

CAListenerInterface& CAListenerInterface::operator= ( const CAListenerInterface )

Referenced by CAListenerInterface().

◆ toDOMElement()

SINT32 CAListenerInterface::toDOMElement ( DOMElement *&  elem,
XERCES_CPP_NAMESPACE::DOMDocument *  ownerDoc 
) const

Member Data Documentation

◆ m_bHidden

bool CAListenerInterface::m_bHidden
private

◆ m_bVirtual

bool CAListenerInterface::m_bVirtual
private

◆ m_pAddr

CASocketAddr* CAListenerInterface::m_pAddr
private

◆ m_strHostname

UINT8* CAListenerInterface::m_strHostname
private

◆ m_Type

NetworkType CAListenerInterface::m_Type
private

◆ XML_ELEMENT_CONTAINER_NAME

const char * CAListenerInterface::XML_ELEMENT_CONTAINER_NAME = "ListenerInterfaces"
static

◆ XML_ELEMENT_NAME

const char * CAListenerInterface::XML_ELEMENT_NAME = "ListenerInterface"
static