C# Class Gravitation.Comms.Messages.AbstractMessage

显示文件 Open project: thedamoes/Gravitation Class Usage Examples

Public Methods

Method Description
AbstractMessage ( ) : System
AbstractMessage ( byte data ) : System
getMessageData ( ) : byte[]

Protected Methods

Method Description
addToMessage ( float val ) : void
addToMessage ( int val ) : void
addToMessage ( string val ) : void
getMessageHeader ( ) : char
readNextVal ( char &value ) : void
readNextVal ( float &value ) : void
readNextVal ( int &value ) : void
readNextVal ( string &value ) : void

Method Details

AbstractMessage() public method

public AbstractMessage ( ) : System
return System

AbstractMessage() public method

public AbstractMessage ( byte data ) : System
data byte
return System

addToMessage() protected method

protected addToMessage ( float val ) : void
val float
return void

addToMessage() protected method

protected addToMessage ( int val ) : void
val int
return void

addToMessage() protected method

protected addToMessage ( string val ) : void
val string
return void

getMessageData() public method

public getMessageData ( ) : byte[]
return byte[]

getMessageHeader() protected abstract method

protected abstract getMessageHeader ( ) : char
return char

readNextVal() protected method

protected readNextVal ( char &value ) : void
value char
return void

readNextVal() protected method

protected readNextVal ( float &value ) : void
value float
return void

readNextVal() protected method

protected readNextVal ( int &value ) : void
value int
return void

readNextVal() protected method

protected readNextVal ( string &value ) : void
value string
return void