CmdMessenger  3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
Public Member Functions | Protected Member Functions | Properties | Events
CommandMessenger.SendCommandQueue Class Reference

Queue of received commands. More...

Inheritance diagram for CommandMessenger.SendCommandQueue:
CommandMessenger.CommandQueue CommandMessenger.DisposableObject

List of all members.

Public Member Functions

 SendCommandQueue (DisposeStack disposeStack, CmdMessenger cmdMessenger, Sender sender, int sendBufferMaxLength)
 send command queue constructor.
void SendCommand (SendCommand sendCommand)
 Sends a command. Note that the command is put at the front of the queue.
void QueueCommand (SendCommand sendCommand)
 Queue the send command.
override void QueueCommand (CommandStrategy commandStrategy)
 Queue the send command wrapped in a command strategy.

Protected Member Functions

override void ProcessQueue ()
 Process the queue.

Properties

uint MaxQueueLength [get, set]

Events

NewLineEvent.NewLineHandler NewLineSent

Detailed Description

Queue of received commands.


Constructor & Destructor Documentation

CommandMessenger.SendCommandQueue.SendCommandQueue ( DisposeStack  disposeStack,
CmdMessenger  cmdMessenger,
Sender  sender,
int  sendBufferMaxLength 
)

send command queue constructor.

Parameters:
disposeStackDisposeStack.
cmdMessengerThe command messenger.
senderObject that does the actual sending of the command
sendBufferMaxLengthLength of the send buffer

Member Function Documentation

override void CommandMessenger.SendCommandQueue.ProcessQueue ( ) [protected, virtual]

Process the queue.

Reimplemented from CommandMessenger.CommandQueue.

Queue the send command.

Parameters:
sendCommandThe command to sent.
override void CommandMessenger.SendCommandQueue.QueueCommand ( CommandStrategy  commandStrategy) [virtual]

Queue the send command wrapped in a command strategy.

Parameters:
commandStrategyThe command strategy.

Reimplemented from CommandMessenger.CommandQueue.

Sends a command. Note that the command is put at the front of the queue.

Parameters:
sendCommandThe command to sent.

The documentation for this class was generated from the following file: