Method | Description | |
---|---|---|
Connection ( |
Constructor
|
|
Connection ( |
Constructor
|
|
Connection ( |
Constructor
|
|
Connection ( |
Transfer 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
|
Method | Description | |
---|---|---|
SetEncryption ( INetEncryption enc ) : void |
Sets the encryption for this connection (see the comments about transfering clients)
|
public Connection ( |
||
manager | Local NetPeer | |
con | NetConnection | |
key | Byte | Node Id |
return | System |
public Connection ( |
||
manager | ||
con | ||
encryption | INetEncryption | |
return | System |
public Connection ( |
||
manager | Local NetPeer | |
con | NetConnection | |
encryption | INetEncryption | |
nodeId | String | Node Id |
return | System |
public Connection ( |
||
manager | ||
con | ||
id | String | |
return | System |
public IncomingMessage ( |
||
msg | The received message | |
return | void |
public SendMessage ( |
||
msg | The message to send | |
method | NetDeliveryMethod | The delivery method |
return | void |
public SendMessage ( |
||
msg | The message to send | |
method | NetDeliveryMethod | The delivery method |
sequenceChannel | The sequence channel | |
return | void |