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

List of all members.

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

References m_pAddr, and m_strHostname.


Member Function Documentation

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

References m_strHostname.

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

References m_Type.

Referenced by CAMix::initMixCascadeInfo().

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

Member Data Documentation

const char * CAListenerInterface::XML_ELEMENT_CONTAINER_NAME = "ListenerInterfaces" [static]
const char * CAListenerInterface::XML_ELEMENT_NAME = "ListenerInterface" [static]

Referenced by getInstance().