C# Class OpenRA.Network.EchoConnection

Inheritance: IConnection
Show file Open project: pchote/OpenRA

Protected Properties

Property Type Description
receivedPackets List

Public Methods

Method Description
Dispose ( ) : void
Receive ( byte[]>.Action packetFn ) : void
Send ( int frame, List orders ) : void
SendImmediate ( List orders ) : void
SendSync ( int frame, byte syncData ) : void
StartRecording ( Func chooseFilename ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Send ( byte packet ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Receive() public method

public Receive ( byte[]>.Action packetFn ) : void
packetFn byte[]>.Action
return void

Send() protected method

protected Send ( byte packet ) : void
packet byte
return void

Send() public method

public Send ( int frame, List orders ) : void
frame int
orders List
return void

SendImmediate() public method

public SendImmediate ( List orders ) : void
orders List
return void

SendSync() public method

public SendSync ( int frame, byte syncData ) : void
frame int
syncData byte
return void

StartRecording() public method

public StartRecording ( Func chooseFilename ) : void
chooseFilename Func
return void

Property Details

receivedPackets protected property

protected List receivedPackets
return List