Class ClientConnectedEventArgs
Represents the arguments for the client connected event.
Namespace: Evergine.Networking.Connection
Assembly: Evergine.Networking.dll
Syntax
public class ClientConnectedEventArgs : EventArgs
Constructors
ClientConnectedEventArgs(NetworkEndpoint, IncomingMessage)
Initializes a new instance of the ClientConnectedEventArgs class.
Declaration
public ClientConnectedEventArgs(NetworkEndpoint clientEndpoint, IncomingMessage hailMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkEndpoint | clientEndpoint | The client's endpoint. |
| IncomingMessage | hailMessage | The received hail message. |
Properties
ClientEndpoint
Gets the endpoint for the new client.
Declaration
public NetworkEndpoint ClientEndpoint { get; }
Property Value
| Type | Description |
|---|---|
| NetworkEndpoint |
HailMessage
Gets the received hail message from the client.
Declaration
public IncomingMessage HailMessage { get; }
Property Value
| Type | Description |
|---|---|
| IncomingMessage |