|
Mixes for Privacy and Anonymity in the Internet
|
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 |
| CAListenerInterface::CAListenerInterface | ( | void | ) | [private] |
References m_bHidden, m_bVirtual, m_pAddr, m_strHostname, m_Type, and UNKNOWN_NETWORKTYPE.
Referenced by getInstance().
References CASocketAddr::clone(), m_bHidden, m_bVirtual, m_pAddr, m_strHostname, and m_Type.
References m_pAddr, and m_strHostname.
| CASocketAddr* CAListenerInterface::getAddr | ( | ) | const |
References CASocketAddr::clone(), and m_pAddr.
Referenced by CACmdLnOptions::createSockets(), CALocalProxy::init(), CAMiddleMix::init(), and CALastMix::init().
| SINT32 CAListenerInterface::getHostName | ( | UINT8 * | buff, |
| UINT32 | bufflen | ||
| ) | const |
| char* CAListenerInterface::getHostname | ( | ) |
References m_strHostname.
| CAListenerInterface * CAListenerInterface::getInstance | ( | const DOMNode * | node | ) | [static] |
elemListenerInterface.getNodeName().equals("ListenerInterface"))
References CAListenerInterface(), E_SUCCESS, getDOMChildByName(), getDOMElementAttribute(), getDOMElementValue(), HTTP_TCP, m_bHidden, m_bVirtual, m_pAddr, m_strHostname, m_Type, RAW_TCP, RAW_UNIX, SSL_TCP, SSL_UNIX, and strtrim().
Referenced by getInstance(), CACmdLnOptions::parse(), CACmdLnOptions::parseInfoServices(), CACmdLnOptions::setInfoServices(), and CACmdLnOptions::setListenerInterfaces().
| CAListenerInterface ** CAListenerInterface::getInstance | ( | DOMElement * | a_elemListenerInterfaces, |
| UINT32 & | r_length | ||
| ) | [static] |
References getElementsByTagName(), getInstance(), and XML_ELEMENT_NAME.
| CAListenerInterface * CAListenerInterface::getInstance | ( | NetworkType | type, |
| const UINT8 * | path | ||
| ) | [static] |
| CAListenerInterface * CAListenerInterface::getInstance | ( | NetworkType | type, |
| const UINT8 * | hostnameOrIP, | ||
| UINT16 | port | ||
| ) | [static] |
| NetworkType CAListenerInterface::getType | ( | ) | const |
References m_Type.
Referenced by CAMix::initMixCascadeInfo().
| bool CAListenerInterface::isHidden | ( | ) | const |
References m_bHidden.
Referenced by CACmdLnOptions::createSockets(), and CAMix::initMixCascadeInfo().
| bool CAListenerInterface::isVirtual | ( | ) | const |
References m_bVirtual.
Referenced by CACmdLnOptions::createSockets(), CAMiddleMix::init(), CALastMix::init(), and CAFirstMix::initOnce().
| CAListenerInterface& CAListenerInterface::operator= | ( | const CAListenerInterface & | ) |
| SINT32 CAListenerInterface::toDOMElement | ( | DOMElement *& | elem, |
| XERCES_CPP_NAMESPACE::DOMDocument * | ownerDoc | ||
| ) | const |
References createDOMElement(), E_SUCCESS, m_pAddr, m_strHostname, and setDOMElementValue().
Referenced by CAMix::initMixCascadeInfo().
bool CAListenerInterface::m_bHidden [private] |
Referenced by CAListenerInterface(), getInstance(), and isHidden().
bool CAListenerInterface::m_bVirtual [private] |
Referenced by CAListenerInterface(), getInstance(), and isVirtual().
CASocketAddr* CAListenerInterface::m_pAddr [private] |
Referenced by CAListenerInterface(), getAddr(), getInstance(), toDOMElement(), and ~CAListenerInterface().
UINT8* CAListenerInterface::m_strHostname [private] |
Referenced by CAListenerInterface(), getHostname(), getInstance(), toDOMElement(), and ~CAListenerInterface().
NetworkType CAListenerInterface::m_Type [private] |
Referenced by CAListenerInterface(), getInstance(), and getType().
const char * CAListenerInterface::XML_ELEMENT_CONTAINER_NAME = "ListenerInterfaces" [static] |
Referenced by CACmdLnOptions::parseInfoServices().
const char * CAListenerInterface::XML_ELEMENT_NAME = "ListenerInterface" [static] |
Referenced by getInstance().
1.7.6.1