Property | Type | Description | |
---|---|---|---|
service |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Recv ( ) : Task |
接收消息
|
|
Send ( List |
||
Send ( byte buffer, byte channelID, PacketFlags flags = PacketFlags.Reliable ) : void |
发送消息
|
Method | Description | |
---|---|---|
AChannel ( |
||
OnError ( |
protected AChannel ( |
||
service | ||
channelType | ChannelType | |
return | System |
protected OnError ( |
||
channel | ||
e | SocketError | |
return | void |
public abstract Send ( List |
||
buffers | List |
|
channelID | byte | |
flags | PacketFlags | |
return | void |
public abstract Send ( byte buffer, byte channelID, PacketFlags flags = PacketFlags.Reliable ) : void | ||
buffer | byte | |
channelID | byte | |
flags | PacketFlags | |
return | void |