C# Class SagaGateway.ControlPanelLoginSession

Inheritance: SagaLib.Client
显示文件 Open project: Willyham/SagaRO2 Class Usage Examples

Public Properties

Property Type Description
Client ControlPanelClient
state SESSION_STATE

Public Methods

Method Description
Connect ( Socket sock, string host, int port ) : void
ControlPanelLoginSession ( string host, int port, ControlPanelClient client ) : System
LoginPing ( ) : void
MapPing ( ) : void
OnClientSendGUID ( ) : void
OnClientSendKey ( ) : void
OnConnect ( ) : void
OnDisconnect ( ) : void
OnLoginPong ( ) : void
OnMapPong ( Packets p ) : void
OnSendGUID ( Packets p ) : void
OnSendIdentify ( Packets p ) : void
OnSendKey ( SagaGateway p ) : void
SendToLogin ( byte data ) : void
SetHeader ( bool value ) : void

Method Details

Connect() public method

public Connect ( Socket sock, string host, int port ) : void
sock System.Net.Sockets.Socket
host string
port int
return void

ControlPanelLoginSession() public method

public ControlPanelLoginSession ( string host, int port, ControlPanelClient client ) : System
host string
port int
client ControlPanelClient
return System

LoginPing() public method

public LoginPing ( ) : void
return void

MapPing() public method

public MapPing ( ) : void
return void

OnClientSendGUID() public method

public OnClientSendGUID ( ) : void
return void

OnClientSendKey() public method

public OnClientSendKey ( ) : void
return void

OnConnect() public method

public OnConnect ( ) : void
return void

OnDisconnect() public method

public OnDisconnect ( ) : void
return void

OnLoginPong() public method

public OnLoginPong ( ) : void
return void

OnMapPong() public method

public OnMapPong ( Packets p ) : void
p Packets
return void

OnSendGUID() public method

public OnSendGUID ( Packets p ) : void
p Packets
return void

OnSendIdentify() public method

public OnSendIdentify ( Packets p ) : void
p Packets
return void

OnSendKey() public method

public OnSendKey ( SagaGateway p ) : void
p SagaGateway
return void

SendToLogin() public method

public SendToLogin ( byte data ) : void
data byte
return void

SetHeader() public method

public SetHeader ( bool value ) : void
value bool
return void

Property Details

Client public_oe property

public ControlPanelClient,SagaGateway Client
return ControlPanelClient

state public_oe property

The state of this session. Changes from NOT_IDENTIFIED to IDENTIFIED or REJECTED.
public SESSION_STATE state
return SESSION_STATE