C# Class MaCRoGS.Communications.Coder

Datei anzeigen Open project: AlexAlbala/MaCRo Class Usage Examples

Public Methods

Method Description
DataReceived ( byte buffer, int offset, int length, TransportAddress t ) : void
FromDouble ( double theDouble, byte buffer, int offset ) : int
FromString ( string theString, byte buffer, int offset ) : int
Send ( Message message, object value ) : void
Start ( MainWindow display ) : void

Private Methods

Method Description
FromShort ( short theUShort, byte buffer, int offset ) : void
ToDouble ( byte buffer, int offset ) : double
ToShort ( byte buffer, int offset ) : short
ToString ( byte buffer, int offset, string &theString ) : int
ToUShort ( byte buffer, int offset ) : ushort

Method Details

DataReceived() public method

public DataReceived ( byte buffer, int offset, int length, TransportAddress t ) : void
buffer byte
offset int
length int
t TransportAddress
return void

FromDouble() public method

public FromDouble ( double theDouble, byte buffer, int offset ) : int
theDouble double
buffer byte
offset int
return int

FromString() public method

public FromString ( string theString, byte buffer, int offset ) : int
theString string
buffer byte
offset int
return int

Send() public method

public Send ( Message message, object value ) : void
message Message
value object
return void

Start() public method

public Start ( MainWindow display ) : void
display MainWindow
return void