Connection |
public class ConnectionRequest : LiteConnectionRequest
The ConnectionRequest type exposes the following members.
| Name | Description | |
|---|---|---|
| Data |
Data sent by the remote peer in the connection request.
(Inherited from LiteConnectionRequest) |
| Name | Description | |
|---|---|---|
| Accept | Accept connection and get new NetPeer as result | |
| AcceptIfKey | Accepts the connection if the first string in the Data matches the provided key. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Reject |
Rejects the connection reliably without additional data.
(Inherited from LiteConnectionRequest) | |
| Reject(Byte) |
Rejects the connection reliably.
(Inherited from LiteConnectionRequest) | |
| Reject(NetDataWriter) |
Rejects the connection reliably using data from a NetDataWriter.
(Inherited from LiteConnectionRequest) | |
| Reject(Byte, Int32, Int32) |
Rejects the connection reliably. Creates a temporary peer to handle packet loss.
(Inherited from LiteConnectionRequest) | |
| Reject(Byte, Int32, Int32, Boolean) |
Rejects the connection request.
(Inherited from LiteConnectionRequest) | |
| RejectForce |
Rejects the connection immediately without sending any packet.
(Inherited from LiteConnectionRequest) | |
| RejectForce(Byte) |
Rejects the connection immediately without reliability.
(Inherited from LiteConnectionRequest) | |
| RejectForce(NetDataWriter) |
Rejects the connection immediately without reliability using data from a NetDataWriter.
(Inherited from LiteConnectionRequest) | |
| RejectForce(Byte, Int32, Int32) |
Rejects the connection immediately without reliability.
Minimizes resource usage by not creating an internal peer.
(Inherited from LiteConnectionRequest) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| RemoteEndPoint |
The remote endpoint (IP and Port) of the peer requesting the connection.
(Inherited from LiteConnectionRequest) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |