C# Class Lawo.EmberPlusSharp.S101.S101Message

Represents a message excluding payload.

See the "Ember+ Specification"Ember+ Specification, chapter "Message Framing".

Non-Ember messages are not currently supported.

Exibir arquivo Open project: Lawo/ember-plus-sharp Class Usage Examples

Private Properties

Property Type Description
GetMessageType byte
ReadFromAsync Task
S101Message System
WriteToAsync Task

Public Methods

Method Description
S101Message ( byte slot, S101Command command ) : System

Initializes a new instance of the S101Message class.

Private Methods

Method Description
GetMessageType ( ReadBuffer readBuffer ) : byte
ReadFromAsync ( ReadBuffer readBuffer, CancellationToken cancellationToken ) : Task
S101Message ( byte slot, byte messageType, S101Command command ) : System
WriteToAsync ( WriteBuffer writerBuffer, CancellationToken cancellationToken ) : Task

Method Details

S101Message() public method

Initializes a new instance of the S101Message class.
equals null.
public S101Message ( byte slot, S101Command command ) : System
slot byte
command S101Command
return System