| CMailbox ()
Default constructor. Initializes data to empty values.
|
| Setup (int iSocket)
Initializes a new mailbox. Associates an unused mailbox to a socket.
|
| ~CMailbox ()
Default destructor.
|
| Close ()
Close the mailbox.
|
bool | IsUsed ()
Returns true if the mailbox is in use.
|
const char* | GetName ()
Returns the mailbox name.
|
const int | GetSocket ()
Returns the associated socket.
|
const char* | GetMsgDest ()
Returns the message recipient.
|
const int | GetMsgLen ()
Returns the message body length.
|
const char* | GetMsgBody ()
Returns the incoming message body text
|
void | Delivered (bool bSuccess)
Indicates the delivery success.
|
bool | HasPendingOutput ()
Returns true if the socket has pending output.
|
void | EnqueueData (const char * strData, int iLen)
Enqueue output data.
|
bool | WriteEnqueuedData ()
Write outgoing data.
|
bool | CharReceived (unsigned char ch)
Notifies mailbox of a character arrival.
|