PacketQueue


Description:

The PacketQueue class listens on a radio frequency for any transmissions and stores them in a NodeList as a queue. Since the Datagrams are in a queue, they must follow FIFO (first-in, first-out) rules and can only be popped off of the top of the queue. Note that this requires a dedicated transceiver; as with all transceiver use, only one active transceiver instantiation may be active at a time and the close function must be called when finished.

Click here for source code.


Special Requirements:

  • Must have a free transceiver
  • The run() method must NOT be called normally or an infinite loop will occur. Use a thread.

Uses:

NodeList

Runnable?

UsesTransceiver


Used in:


Author(s):

Tyler McClung


See also:

SourceCode

The SPOTBot Wiki Home

The Source Code Repository