C# Class SOE.Core.SOEServer

ファイルを表示 Open project: Joshsora/LibSOE Class Usage Examples

Public Properties

Property Type Description
CLIENT_TIMEOUT int
ConnectionManager SOEConnectionManager
GAME_NAME string
Protocol SOEProtocol
Running bool
SERVER_THREAD_SLEEP int
THREAD_POOL_SIZE int
WANT_MESSAGE_THREADING bool
WANT_PACKET_THREADING bool

Public Methods

Method Description
Log ( string message ) : void
ReceiveMessage ( SOEClient sender, byte rawMessage ) : void
Run ( ) : void
SOEServer ( int port, string protocol = "SOE" ) : System
SendPacket ( SOEClient client, SOEPacket packet ) : void

Private Methods

Method Description
DoNetCycle ( ) : void

Method Details

Log() public method

public Log ( string message ) : void
message string
return void

ReceiveMessage() public method

public ReceiveMessage ( SOEClient sender, byte rawMessage ) : void
sender SOEClient
rawMessage byte
return void

Run() public method

public Run ( ) : void
return void

SOEServer() public method

public SOEServer ( int port, string protocol = "SOE" ) : System
port int
protocol string
return System

SendPacket() public method

public SendPacket ( SOEClient client, SOEPacket packet ) : void
client SOEClient
packet SOE.Interfaces.SOEPacket
return void

Property Details

CLIENT_TIMEOUT public_oe property

public int CLIENT_TIMEOUT
return int

ConnectionManager public_oe property

public SOEConnectionManager,SOE.Core ConnectionManager
return SOEConnectionManager

GAME_NAME public_oe property

public string GAME_NAME
return string

Protocol public_oe property

public SOEProtocol,SOE.Core Protocol
return SOEProtocol

Running public_oe property

public bool Running
return bool

SERVER_THREAD_SLEEP public_oe property

public int SERVER_THREAD_SLEEP
return int

THREAD_POOL_SIZE public_oe property

public int THREAD_POOL_SIZE
return int

WANT_MESSAGE_THREADING public_oe property

public bool WANT_MESSAGE_THREADING
return bool

WANT_PACKET_THREADING public_oe property

public bool WANT_PACKET_THREADING
return bool