Метод | Описание | |
---|---|---|
Connection ( |
Constructor
|
|
Connection ( |
Constructor
|
|
Connection ( |
Constructor
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Will deregister all protocols
|
|
IncomingMessage ( |
This handles an incoming message
|
|
SendMessage ( |
Sends a message
|
|
SendMessage ( |
Sends a message
|
Метод | Описание | |
---|---|---|
SetEncryption ( INetEncryption enc ) : void |
Sets the encryption
|
|
SetEncryptionKey ( Byte key ) : void |
Sets the key (when transfered servers)
|
public Connection ( |
||
manager | Local NetPeer | |
con | NetConnection | |
key | Byte | Node Id |
Результат | System |
public Connection ( |
||
manager | Local NetPeer | |
con | NetConnection | |
encryption | INetEncryption | |
Результат | System |
public Connection ( |
||
manager | Local NetPeer | |
con | NetConnection | |
encryption | INetEncryption | |
nodeId | String | Node Id |
Результат | System |
public IncomingMessage ( |
||
msg | The received message | |
Результат | void |
public SendMessage ( |
||
msg | The message to send | |
method | NetDeliveryMethod | The delivery method |
Результат | void |
public SendMessage ( |
||
msg | The message to send | |
method | NetDeliveryMethod | The delivery method |
sequenceChannel | The sequence channel | |
Результат | void |