Свойство | Type | Description | |
---|---|---|---|
ClientHandler | |||
shutdownClientHandler | bool | ||
shutdownServer | bool |
Свойство | Type | Description | |
---|---|---|---|
ConnectionLock | object | ||
Connections | List |
||
Listener | Socket |
Méthode | Description | |
---|---|---|
CurrentTimeMillis ( ) : long | ||
Disconnect ( Connection connection ) : void | ||
Listen ( string bindIP, int port ) : bool | ||
OnConnecte ( object sender, |
||
OnDisconnecte ( object sender, |
||
Send ( Connection connection, byte buffer, int start, int count, SocketFlags flags ) : int | ||
killServer ( ) : void | ||
run ( ) : void |
Méthode | Description | |
---|---|---|
OnClientConnection ( |
||
OnClientDisconnect ( |
||
OnDataReceived ( |
||
OnDataSent ( |
Méthode | Description | |
---|---|---|
GameServer_DataReceived ( object sender, |
||
NotifyRemoveConnection ( Connection connection ) : void | ||
RemoveConnection ( Connection connection, bool raiseEvent ) : void | ||
acceptCallback ( IAsyncResult result ) : void | ||
readCallback ( IAsyncResult result ) : void |
public Disconnect ( Connection connection ) : void | ||
connection | Connection | |
Résultat | void |
public Listen ( string bindIP, int port ) : bool | ||
bindIP | string | |
port | int | |
Résultat | bool |
protected OnClientConnection ( |
||
e | ||
Résultat | void |
protected OnClientDisconnect ( |
||
e | ||
Résultat | void |
public OnConnecte ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected OnDataReceived ( |
||
e | ||
Résultat | void |
protected OnDataSent ( |
||
e | ||
Résultat | void |
public OnDisconnecte ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
public Send ( Connection connection, byte buffer, int start, int count, SocketFlags flags ) : int | ||
connection | Connection | |
buffer | byte | |
start | int | |
count | int | |
flags | SocketFlags | |
Résultat | int |
public static Server,devTool ClientHandler | ||
Résultat |
public static bool shutdownClientHandler | ||
Résultat | bool |