Mixe for Privacy and Anonymity in the Internet
|
#include <CAListenerInterface.hpp>
Public Member Functions | |
CAListenerInterface (const CAListenerInterface &l) | |
CAListenerInterface & | operator= (const CAListenerInterface &) |
~CAListenerInterface (void) | |
NetworkType | getType () const |
SINT32 | getHostName (UINT8 *buff, UINT32 bufflen) const |
CASocketAddr * | getAddr () const |
bool | isHidden () const |
bool | isVirtual () const |
char * | getHostname () |
SINT32 | toDOMElement (DOMElement *&elem, XERCES_CPP_NAMESPACE::DOMDocument *ownerDoc) const |
Static Public Member Functions | |
static CAListenerInterface * | getInstance (const DOMNode *node) |
static CAListenerInterface ** | getInstance (DOMElement *a_elemListenerInterfaces, UINT32 &r_length) |
static CAListenerInterface * | getInstance (NetworkType type, const UINT8 *path) |
static CAListenerInterface * | getInstance (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 | |
CASocketAddr * | m_pAddr |
UINT8 * | m_strHostname |
NetworkType | m_Type |
bool | m_bHidden |
bool | m_bVirtual |
Definition at line 6 of file CAListenerInterface.hpp.
|
private |
Definition at line 42 of file CAListenerInterface.cpp.
References m_bHidden, m_bVirtual, m_pAddr, m_strHostname, m_Type, and UNKNOWN_NETWORKTYPE.
Referenced by getInstance().
|
inline |
Definition at line 12 of file CAListenerInterface.hpp.
References CASocketAddr::clone(), m_bHidden, m_bVirtual, m_pAddr, m_strHostname, and m_Type.
CAListenerInterface::~CAListenerInterface | ( | void | ) |
Definition at line 51 of file CAListenerInterface.cpp.
References m_pAddr, and m_strHostname.
|
inline |
Definition at line 47 of file CAListenerInterface.hpp.
References CASocketAddr::clone(), and m_pAddr.
Referenced by CACmdLnOptions::createSockets(), CALastMix::init(), CALocalProxy::init(), and CAMiddleMix::init().
|
inline |
|
static |
elemListenerInterface.getNodeName().equals("ListenerInterface"))
Definition at line 157 of file CAListenerInterface.cpp.
References CAListenerInterface(), E_SUCCESS, getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), HTTP_TCP, m_bHidden, m_bVirtual, m_pAddr, m_strHostname, m_Type, RAW_TCP, RAW_UDP, RAW_UNIX, SSL_TCP, SSL_UNIX, and strtrim().
Referenced by getInstance(), CACmdLnOptions::parse(), CACmdLnOptions::parseInfoServices(), CACmdLnOptions::setInfoServices(), and CACmdLnOptions::setListenerInterfaces().
|
static |
Definition at line 121 of file CAListenerInterface.cpp.
References getElementsByTagName(), getInstance(), and XML_ELEMENT_NAME.
|
static |
Definition at line 75 of file CAListenerInterface.cpp.
References CAListenerInterface(), E_SUCCESS, m_pAddr, m_Type, RAW_TCP, RAW_UDP, SSL_TCP, and type.
|
static |
Definition at line 59 of file CAListenerInterface.cpp.
References CAListenerInterface(), m_pAddr, m_Type, RAW_UNIX, SSL_UNIX, and type.
|
inline |
Definition at line 41 of file CAListenerInterface.hpp.
References m_Type.
Referenced by CAMix::initMixCascadeInfo().
|
inline |
Definition at line 52 of file CAListenerInterface.hpp.
References m_bHidden.
Referenced by CACmdLnOptions::createSockets(), and CAMix::initMixCascadeInfo().
|
inline |
Definition at line 56 of file CAListenerInterface.hpp.
References m_bVirtual.
Referenced by CACmdLnOptions::createSockets(), CALastMix::init(), CAMiddleMix::init(), and CAFirstMix::initOnce().
CAListenerInterface& CAListenerInterface::operator= | ( | const CAListenerInterface & | ) |
SINT32 CAListenerInterface::toDOMElement | ( | DOMElement *& | elem, |
XERCES_CPP_NAMESPACE::DOMDocument * | ownerDoc | ||
) | const |
Definition at line 91 of file CAListenerInterface.cpp.
References createDOMElement(), E_SUCCESS, m_pAddr, m_strHostname, m_Type, RAW_TCP, RAW_UDP, and setDOMElementValue().
Referenced by CAMix::initMixCascadeInfo().
|
private |
Definition at line 71 of file CAListenerInterface.hpp.
Referenced by CAListenerInterface(), getInstance(), and isHidden().
|
private |
Definition at line 72 of file CAListenerInterface.hpp.
Referenced by CAListenerInterface(), getInstance(), and isVirtual().
|
private |
Definition at line 68 of file CAListenerInterface.hpp.
Referenced by CAListenerInterface(), getAddr(), getInstance(), toDOMElement(), and ~CAListenerInterface().
|
private |
Definition at line 69 of file CAListenerInterface.hpp.
Referenced by CAListenerInterface(), getHostname(), getInstance(), toDOMElement(), and ~CAListenerInterface().
|
private |
Definition at line 70 of file CAListenerInterface.hpp.
Referenced by CAListenerInterface(), getInstance(), getType(), and toDOMElement().
|
static |
Definition at line 63 of file CAListenerInterface.hpp.
Referenced by CACmdLnOptions::parseInfoServices().
|
static |
Definition at line 64 of file CAListenerInterface.hpp.
Referenced by getInstance().