Click or drag to resize

LiteConnectionRequest Methods

The LiteConnectionRequest type exposes the following members.

Methods
 NameDescription
Public methodAccept Accept connection and get new NetPeer as result
Public methodAcceptIfKey Accepts the connection if the first string in the Data matches the provided key.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReject Rejects the connection reliably without additional data.
Public methodReject(Byte) Rejects the connection reliably.
Public methodReject(NetDataWriter) Rejects the connection reliably using data from a NetDataWriter.
Public methodReject(Byte, Int32, Int32) Rejects the connection reliably. Creates a temporary peer to handle packet loss.
Public methodReject(Byte, Int32, Int32, Boolean) Rejects the connection request.
Public methodRejectForce Rejects the connection immediately without sending any packet.
Public methodRejectForce(Byte) Rejects the connection immediately without reliability.
Public methodRejectForce(NetDataWriter) Rejects the connection immediately without reliability using data from a NetDataWriter.
Public methodRejectForce(Byte, Int32, Int32) Rejects the connection immediately without reliability. Minimizes resource usage by not creating an internal peer.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also