OddPrg.Communication Namespace
[Missing <summary> documentation for "N:OddPrg.Communication"]
ComException |
Exception thrown by the communicator
|
Communicator |
A thread safe abstract communicator. Please consider to change a protocol before any modification of this
class.
|
CommunicatorInfo |
Contains communicator informations.
|
DispatchDataParams |
Parameters passed to a listener addintional dispatch procedure (DispatchData).
|
FileCommunicator |
Communicator that reads data from a file. It does not send any requests only loads and returns data.
|
FileNameInfo |
Class used to maintain information about file to return a file list.
|
HttpMethods | |
Listener |
A thread safe abstract listener. It can be used to wait for unrequested incomming data and pass them to some communicator for dispatch.
Or it can be used to fire an arbitrary action depending on receved data. This class is expected to be serialized in xml file.
|
SecondLayerCommunicator |
Communicator that uses two communication layers.
|
SerialPortParams |
Parameters used to store current setup of serial line.
|
IHandledHttpService |
Interface that implements communicators that can transfer HTTP protocol and create/parse HTTP requests/responses.
|
IHttpService |
Interface that implements communicators that can transfer HTTP protocol.
|
ISerialPort | |
AddDispatchMessage |
Delegate used to return log message in DispatchData.
|
AddLogLine |
Delegate used to notify about a new line is added to a log by the listener.
|
BuildExceptionMessage |
Delegate used to build error message.
|
DispatchData |
Delegate used for additional data dispath by a listener.
|
GetCurrentTimeProc |
Delegate used for procedure that returns current local date/time.
|
ListenerConnection |
Delegate used to notify about new incoming client connection and client disconnection.
|
ListenerFailure |
Delegate used to notify a listener failure that cannot be recovered.
|
NotifyEvent |
Delegate to notify some communicator events during the main waiting loop.
|
NotifyMessage |
Delegate used to notify about sucessfull listener startup or listener failure. It returns an additional message that can be displayed e.g. in a service log.
|
ShowStrProc |
Delegate for displying a message to the user.
|
TestTerminateProc |
Delegate to control communication termination by the user.
|
WaitingTerminateProc |
Delegate to control the main communicator waiting loop. See WaitFor method.
|
ComExceptionComExceptionKind |
Event kinds
|
CommunicatorByteDisplayModes |
How to display sent and received bytes in a communication log
None - do not display
Hex - display two digit hexadecimal value per byte divided by '|'
Dec - display decimal ascii codes per byte divided by '|'
Chars - display charactes for bytes greater or equal to 32, and #hex for bytes less than 32
Lines - display whole lines divided by OutputLineSeparator/InputLineSeparator. Characters with ascii codes less than 32 display as #hex
For Hex, Dec, Char max displayBytesLength bytes per line is displayed.
|
CommunicatorByteFlowDirection |
Bytes to display in the log direction
|