C# Class Sanguosha.Core.Network.ServerGamer

Mostra file Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
AddStream ( Stream newStream ) : void
Flush ( ) : void
Receive ( ) : GameDataPacket
ReceiveAsync ( ) : void
Send ( GameDataPacket packet, bool doRecord = true ) : void
SendAsync ( GameDataPacket packet ) : void
ServerGamer ( ) : System
StartReceiver ( ) : void
StartSender ( ) : void
Stop ( ) : void

Private Methods

Method Description
ReceiveLoop ( ) : void
SendLoop ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

AddStream() public method

public AddStream ( Stream newStream ) : void
newStream Stream
return void

Flush() public method

public Flush ( ) : void
return void

Receive() public method

public Receive ( ) : GameDataPacket
return GameDataPacket

ReceiveAsync() public method

public ReceiveAsync ( ) : void
return void

Send() public method

public Send ( GameDataPacket packet, bool doRecord = true ) : void
packet GameDataPacket
doRecord bool
return void

SendAsync() public method

public SendAsync ( GameDataPacket packet ) : void
packet GameDataPacket
return void

ServerGamer() public method

public ServerGamer ( ) : System
return System

StartReceiver() public method

public StartReceiver ( ) : void
return void

StartSender() public method

public StartSender ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void