C# Class core.Server.RConn.Protocol

Inheritance: IDisposable
Show file Open project: Pure-Battlefield/gswat Class Usage Examples

Public Properties

Property Type Description
MessagePump Thread

Private Properties

Property Type Description
HandleRequest void
HandleResponse void
ReceivePacket Packet
ReceivePackets void
SendOkResponse void

Public Methods

Method Description
Connect ( ) : void
Disconnect ( ) : void
Protocol ( string address, int port, string password ) : System
SendRequest ( Packet packet ) : Packet

Private Methods

Method Description
HandleRequest ( Packet packet ) : void
HandleResponse ( Packet packet ) : void
ReceivePacket ( ) : Packet
ReceivePackets ( ) : void
SendOkResponse ( Packet packet ) : void

Method Details

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Protocol() public method

public Protocol ( string address, int port, string password ) : System
address string
port int
password string
return System

SendRequest() public method

public SendRequest ( Packet packet ) : Packet
packet Packet
return Packet

Property Details

MessagePump public property

public Thread MessagePump
return Thread