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