Lidgren Network Library documentation |
NetConnection Methods |
NetConnection Class See Also Send Feedback |
The NetConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
Approve()()()() |
Approves this connection; sending a connection response to the remote host
| |
Approve(NetOutgoingMessage) |
Approves this connection; sending a connection response to the remote host
| |
Deny()()()() |
Denies this connection; disconnecting it
| |
Deny(String) |
Denies this connection; disconnecting it
| |
Disconnect |
Disconnect from the remote peer
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetLocalTime |
Gets local time value comparable to NetTime.Now from a remote value
| |
GetRemoteTime |
Gets the remote time value for a local time value produced by NetTime.Now
| |
GetSendQueueInfo |
Zero windowSize indicates that the channel is not yet instantiated (used)
Negative freeWindowSlots means this amount of messages are currently queued but delayed due to closed window
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
SendMessage |
Send a message to this remote connection
| |
ToString |
Returns a string that represents this object
(Overrides Object..::..ToString()()()().) |