- enqueueIn
void enqueueIn(LinkUnit unit)
Undocumented in source. Be warned that the author may not have intended to support it.
- getHandler
LinkUnitHandler getHandler(ubyte code)
Returns the given handler function associated
with the provided message type.
- getInterface
string getInterface()
Undocumented in source. Be warned that the author may not have intended to support it.
- getR2RPort
ushort getR2RPort()
Returns the router-to-router port being used for this link
- hasInQueue
bool hasInQueue()
Undocumented in source. Be warned that the author may not have intended to support it.
- launch
void launch()
Undocumented in source. Be warned that the author may not have intended to support it.
- popInQueue
LinkUnit popInQueue()
Undocumented in source. Be warned that the author may not have intended to support it.
- receive
LinkMessage receive()
Blocks to receive one message from the incoming queue
- registerHandler
void registerHandler(LinkUnitHandler funcPtr, ubyte code)
Undocumented in source. Be warned that the author may not have intended to support it.
- send
void send(LinkMessage message, string recipient)
- setDefaultHandler
void setDefaultHandler(LinkUnitHandler funcPtr)
Undocumented in source. Be warned that the author may not have intended to support it.
Link
Description: Represents a "pipe" whereby different protocol messages can be transported over. Such protocol messages include data packet transport (receiving and sending) along with router advertisements messages
This class handles the Message queues for sending and receiving messages (and partially decoding them)