Click or drag to resize

ConnectionRequest Methods

The ConnectionRequest 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.
(Inherited from LiteConnectionRequest)
Public methodReject(Byte) Rejects the connection reliably.
(Inherited from LiteConnectionRequest)
Public methodReject(NetDataWriter) Rejects the connection reliably using data from a NetDataWriter.
(Inherited from LiteConnectionRequest)
Public methodReject(Byte, Int32, Int32) Rejects the connection reliably. Creates a temporary peer to handle packet loss.
(Inherited from LiteConnectionRequest)
Public methodReject(Byte, Int32, Int32, Boolean) Rejects the connection request.
(Inherited from LiteConnectionRequest)
Public methodRejectForce Rejects the connection immediately without sending any packet.
(Inherited from LiteConnectionRequest)
Public methodRejectForce(Byte) Rejects the connection immediately without reliability.
(Inherited from LiteConnectionRequest)
Public methodRejectForce(NetDataWriter) Rejects the connection immediately without reliability using data from a NetDataWriter.
(Inherited from LiteConnectionRequest)
Public methodRejectForce(Byte, Int32, Int32) Rejects the connection immediately without reliability. Minimizes resource usage by not creating an internal peer.
(Inherited from LiteConnectionRequest)
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