Net |
public sealed class NetEvent
The NetEvent type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| ChannelNumber | The channel on which the packet was received. | |
| ConnectionRequest | Information about an incoming connection. Only valid when Type is ConnectionRequest. | |
| DataReader | A reader for accessing the payload of received data, broadcast, or unconnected messages. | |
| DeliveryMethod | The delivery method used for the received packet. Only valid when Type is Receive. | |
| DisconnectReason | The reason for a peer's disconnection. Only valid when Type is Disconnect. | |
| ErrorCode | The specific socket error. Only valid when Type is Error. | |
| Latency | The updated latency value in milliseconds. Only valid when Type is ConnectionLatencyUpdated. | |
| Next | Reference to the next event in the pool or event queue. | |
| Peer | The peer associated with this event. for unconnected events. | |
| RemoteEndPoint | The remote endpoint (IP and Port) from which the event originated. | |
| Type | The type of network event that occurred. | |
| UserData | Optional user data associated with a connection request or disconnect. |
| 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) |