Свойство | Type | Description | |
---|---|---|---|
Dispose | void | ||
onConnected | void | ||
onReceived | void | ||
onSent | void | ||
startReceive | void |
Méthode | Description | |
---|---|---|
Connect ( EpServerEngine.cs.ClientOps ops ) : void |
Connect to the server with given options
|
|
Disconnect ( ) : void |
Disconnect from the server
|
|
Dispose ( ) : void | ||
IocpTcpClient ( ) : System |
Default constructor
|
|
IocpTcpClient ( |
Default copy constructor
|
|
Send ( EpServerEngine.cs.Packet packet ) : void |
Send given packet to the server
|
|
Send ( byte data ) : void |
Send given data to the server
|
|
Send ( byte data, int offset, int dataSize ) : void |
Send given data to the server
|
Méthode | Description | |
---|---|---|
execute ( ) : void |
Make the connection to the server and start receiving
|
Méthode | Description | |
---|---|---|
Dispose ( bool isDisposing ) : void | ||
onConnected ( IAsyncResult result ) : void |
Connection callback function
|
|
onReceived ( IAsyncResult result ) : void |
Receive callback function
|
|
onSent ( IAsyncResult result ) : void |
Send callback function
|
|
startReceive ( ) : void |
Start to receive packet from the server
|
public Connect ( EpServerEngine.cs.ClientOps ops ) : void | ||
ops | EpServerEngine.cs.ClientOps | options for client |
Résultat | void |
public IocpTcpClient ( |
||
b | the object to copy from | |
Résultat | System |
public Send ( EpServerEngine.cs.Packet packet ) : void | ||
packet | EpServerEngine.cs.Packet | packet to send |
Résultat | void |
public Send ( byte data, int offset, int dataSize ) : void | ||
data | byte | data in byte array |
offset | int | offset in bytes |
dataSize | int | data size in bytes |
Résultat | void |