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

Public Member Functions

 CATargetInterface (TargetType target_t, NetworkType net_t, CASocketAddr *p_addr)
 
 CATargetInterface ()
 
SINT32 cloneInto (CATargetInterface &oTargetInterface) const
 
SINT32 set (TargetType target_t, NetworkType net_t, CASocketAddr *p_addr)
 
SINT32 set (CATargetInterface &source)
 
SINT32 set (CATargetInterface *source)
 
TargetType getTargetType () const
 
CASocketAddrgetAddr () const
 
SINT32 cleanAddr ()
 

Private Attributes

CASocketAddraddr
 
TargetType target_type
 
NetworkType net_type
 

Constructor & Destructor Documentation

◆ CATargetInterface() [1/2]

CATargetInterface::CATargetInterface ( TargetType  target_t,
NetworkType  net_t,
CASocketAddr p_addr 
)

References set().

◆ CATargetInterface() [2/2]

CATargetInterface::CATargetInterface ( )

Member Function Documentation

◆ cleanAddr()

SINT32 CATargetInterface::cleanAddr ( )

◆ cloneInto()

SINT32 CATargetInterface::cloneInto ( CATargetInterface oTargetInterface) const

◆ getAddr()

CASocketAddr* CATargetInterface::getAddr ( ) const

◆ getTargetType()

TargetType CATargetInterface::getTargetType ( ) const

◆ set() [1/3]

SINT32 CATargetInterface::set ( CATargetInterface source)

References addr, net_type, set(), and target_type.

◆ set() [2/3]

SINT32 CATargetInterface::set ( CATargetInterface source)

References addr, net_type, set(), and target_type.

◆ set() [3/3]

SINT32 CATargetInterface::set ( TargetType  target_t,
NetworkType  net_t,
CASocketAddr p_addr 
)

Member Data Documentation

◆ addr

CASocketAddr* CATargetInterface::addr
private

◆ net_type

NetworkType CATargetInterface::net_type
private

Referenced by CATargetInterface(), cloneInto(), and set().

◆ target_type

TargetType CATargetInterface::target_type
private