C# Class Commands.CommandHandler

Show file Open project: uiacm/tower_creator Class Usage Examples

Public Methods

Method Description
RecieveCommand ( Stream stream ) : Command

Recieves the command on the stream

SendCommand ( Stream stream, Command command ) : void

Sends a command over the stream

Method Details

RecieveCommand() public static method

Recieves the command on the stream
public static RecieveCommand ( Stream stream ) : Command
stream Stream
return Command

SendCommand() public static method

Sends a command over the stream
public static SendCommand ( Stream stream, Command command ) : void
stream Stream
command Command
return void