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

Public Member Functions

 CALastMixChannelList ()
 
 ~CALastMixChannelList ()
 
SINT32 add (HCHANNEL id, CASocket *pSocket, CASymChannelCipher *pCipher, CAQueue *pQueue)
 
lmChannelListEntryget (HCHANNEL channelIn)
 
lmChannelListEntrygetFirstSocket ()
 
lmChannelListEntrygetNextSocket ()
 
SINT32 removeChannel (HCHANNEL channelIn)
 
UINT32 getSize ()
 

Static Public Member Functions

static SINT32 test ()
 

Private Attributes

UINT32 m_nChannels
 
LP_lmChannelListEntrym_HashTable
 The Hash-Table of all channels. More...
 
lmChannelListm_listSockets
 Pointer to the head of a list of all sockets. More...
 
lmChannelListm_listSocketsNext
 Next Element in the enumeration of all sockets. More...
 

Constructor & Destructor Documentation

◆ CALastMixChannelList()

CALastMixChannelList::CALastMixChannelList ( )

◆ ~CALastMixChannelList()

CALastMixChannelList::~CALastMixChannelList ( )

Member Function Documentation

◆ add()

SINT32 CALastMixChannelList::add ( HCHANNEL  id,
CASocket pSocket,
CASymChannelCipher pCipher,
CAQueue pQueue 
)

◆ get()

lmChannelListEntry* CALastMixChannelList::get ( HCHANNEL  channelIn)

◆ getFirstSocket()

lmChannelListEntry* CALastMixChannelList::getFirstSocket ( )

◆ getNextSocket()

lmChannelListEntry* CALastMixChannelList::getNextSocket ( )

◆ getSize()

UINT32 CALastMixChannelList::getSize ( )

References m_nChannels.

Referenced by CALastMixA::loop().

◆ removeChannel()

SINT32 CALastMixChannelList::removeChannel ( HCHANNEL  channelIn)

◆ test()

SINT32 CALastMixChannelList::test ( )
static

Member Data Documentation

◆ m_HashTable

LP_lmChannelListEntry* CALastMixChannelList::m_HashTable
private

The Hash-Table of all channels.

Referenced by add(), CALastMixChannelList(), get(), removeChannel(), and ~CALastMixChannelList().

◆ m_listSockets

lmChannelList* CALastMixChannelList::m_listSockets
private

Pointer to the head of a list of all sockets.

Referenced by add(), CALastMixChannelList(), getFirstSocket(), and removeChannel().

◆ m_listSocketsNext

lmChannelList* CALastMixChannelList::m_listSocketsNext
private

Next Element in the enumeration of all sockets.

Referenced by CALastMixChannelList(), getFirstSocket(), getNextSocket(), and removeChannel().

◆ m_nChannels

UINT32 CALastMixChannelList::m_nChannels
private