| CMailboxCollection ()
Default constructor. Initializes the mailbox collection with empty data.
|
| ~CMailboxCollection ()
Default destructor. Deletes all the contained mailbox objects and frees the used memory.
|
int | FindMailbox (const char * strName, int iStartPos=0)
Finds a mailbox by name.
|
int | FindMailbox (int iSocket)
Finds a mailbox by socket.
|
void | UpdateWriteSet (fd_set * write_fd_set)
Updates the socket write set.
|
bool | AddMailbox (int iSocket)
Adds a new mailbox.
|
void | WriteEnqueuedData (int iSocket)
Writes the enqueued data for the given socket.
|
bool | CloseMailbox (const char * strName)
Closes the mailbox which has a given name.
|
bool | CloseMailbox (int iSocket)
Closes the mailbox which has a given name.
|
void | CloseMailboxes ()
Closes all the mailboxes
|
bool | CharFromSocket (int iSocket, unsigned char ch)
Notify character. Notify the mailbox associated to given socket of a character arrival.
|