C# Class core.Server.CommLayer

Inheritance: core.Server.ICommLayer
Show file Open project: Pure-Battlefield/gswat Class Usage Examples

Public Properties

Property Type Description
MessageEvents MessageEventHandler>.Dictionary

Private Properties

Property Type Description
RConnPacketHandler void

Public Methods

Method Description
Connect ( string address, int port, string password ) : void
Disconnect ( ) : void
IssueRequest ( string requestName, string>.Dictionary parameters, MessageEventHandler callback ) : void
NotifyCommHandler ( object sender, ChatEventArgs e ) : void

Private Methods

Method Description
RConnPacketHandler ( Packet args ) : void

Method Details

Connect() public method

public Connect ( string address, int port, string password ) : void
address string
port int
password string
return void

Disconnect() public method

public Disconnect ( ) : void
return void

IssueRequest() public method

public IssueRequest ( string requestName, string>.Dictionary parameters, MessageEventHandler callback ) : void
requestName string
parameters string>.Dictionary
callback MessageEventHandler
return void

NotifyCommHandler() public method

public NotifyCommHandler ( object sender, ChatEventArgs e ) : void
sender object
e ChatEventArgs
return void

Property Details

MessageEvents public property

public Dictionary MessageEvents
return MessageEventHandler>.Dictionary