C# Class variableclient.VariableManager

Show file Open project: MadrMan/gpgpuraytrace Class Usage Examples

Private Properties

Property Type Description
AddVariable void
ClearVariables void
Connect void
RemoveVariable void
Run void
SendVariable void
dataToVariable void

Public Methods

Method Description
Start ( ) : void
Stop ( ) : void
VariableManager ( ) : System

Private Methods

Method Description
AddVariable ( string name, string type, byte data ) : void
ClearVariables ( ) : void
Connect ( string address ) : void
RemoveVariable ( string name ) : void
Run ( ) : void

Run the variable manager which handles the networking -Packet format- TO server: [var:s][data:x] FROM server: [add(1):1][var:s][type:s][length:2][data:x] [remove(0):1][var:s] [removeAll(2):1][var:s]

SendVariable ( Variable v ) : void
dataToVariable ( Variable v, byte data ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

VariableManager() public method

public VariableManager ( ) : System
return System