NetConnection Methods

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image

The NetConnection type exposes the following members.

Methods

  NameDescription
Public methodApprove()()()()
Approves this connection; sending a connection response to the remote host
Public methodApprove(NetOutgoingMessage)
Approves this connection; sending a connection response to the remote host
Public methodDeny()()()()
Denies this connection; disconnecting it
Public methodDeny(String)
Denies this connection; disconnecting it
Public methodDisconnect
Disconnect from the remote peer
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLocalTime
Gets local time value comparable to NetTime.Now from a remote value
Public methodGetRemoteTime
Gets the remote time value for a local time value produced by NetTime.Now
Public methodGetSendQueueInfo
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
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendMessage
Send a message to this remote connection
Public methodToString
Returns a string that represents this object
(Overrides Object..::..ToString()()()().)

See Also