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

List of all members.

Public Member Functions

 Sender (CommunicationManager communicationManager, ReceiveCommandQueue receiveCommandQueue)
ReceivedCommand ExecuteSendCommand (SendCommand sendCommand, SendQueue sendQueueState)
 Directly executes the send command operation.
ReceivedCommand ExecuteSendString (String commandsString, SendQueue sendQueueState)
 Directly executes the send string operation.

Properties

ReceivedCommand CurrentReceivedCommand [get, set]
 Gets or sets the current received command.
bool PrintLfCr [get, set]
 Gets or sets a whether to print a line feed carriage return after each command.

Member Function Documentation

ReceivedCommand CommandMessenger.Sender.ExecuteSendCommand ( SendCommand  sendCommand,
SendQueue  sendQueueState 
)

Directly executes the send command operation.

Parameters:
sendCommandThe command to sent.
sendQueueStateProperty to optionally clear the send and receive queues.
Returns:
A received command. The received command will only be valid if the ReqAc of the command is true.
ReceivedCommand CommandMessenger.Sender.ExecuteSendString ( String  commandsString,
SendQueue  sendQueueState 
)

Directly executes the send string operation.

Parameters:
commandsStringThe string to sent.
sendQueueStateProperty to optionally clear the send and receive queues.
Returns:
The received command is added for compatibility. It will not yield a response.

Property Documentation

Gets or sets the current received command.

The current received command.

Gets or sets a whether to print a line feed carriage return after each command.

true if print line feed carriage return, false if not.


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