Class Mailbox


class Mailbox
derived from Communicator_Common


Constructor Summary
Mailbox()
           

Method Summary
 boolavailableMessages()
           
 static voidcloseBox(mbNumber_t slot)
           
 static booldefineBox(Mailbox * box, mbNumber_t slot)
           
 static Mailbox *getBox(mbNumber_t slot)
           
 const Id &id()
           
 intreceive(clsAddress * from, message_t * data, msgSize_t maxSize)
           
 boolsend(clsAddress * destiny, message_t * data, msgSize_t msgSize)
           

Constructor Detail

Mailbox

public Mailbox()
Method Detail

availableMessages

public bool availableMessages()

closeBox

public static void closeBox(mbNumber_t slot)

defineBox

public static bool defineBox(Mailbox * box, mbNumber_t slot)

getBox

public static Mailbox * getBox(mbNumber_t slot)

id

public const Id & id()

receive

public int receive(clsAddress * from, message_t * data, msgSize_t maxSize)

send

public bool send(clsAddress * destiny, message_t * data, msgSize_t msgSize)