Search Results for

    Show / Hide Table of Contents

    Class ClientConnectingEventArgs

    Represents the arguments of the client connection request event.

    Inheritance
    object
    EventArgs
    ClientConnectingEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Networking.Connection
    Assembly: Evergine.Networking.dll
    Syntax
    public class ClientConnectingEventArgs : EventArgs

    Constructors

    ClientConnectingEventArgs(NetworkEndpoint, IncomingMessage)

    Initializes a new instance of the ClientConnectingEventArgs class.

    Declaration
    public ClientConnectingEventArgs(NetworkEndpoint clientEndpoint, IncomingMessage hailMessage)
    Parameters
    Type Name Description
    NetworkEndpoint clientEndpoint

    The endpoint of the client.

    IncomingMessage hailMessage

    The received hail message.

    Properties

    ClientEndpoint

    Gets the endpoint of the new client.

    Declaration
    public NetworkEndpoint ClientEndpoint { get; }
    Property Value
    Type Description
    NetworkEndpoint

    HailMessage

    Gets the received hail message of the client.

    Declaration
    public IncomingMessage HailMessage { get; }
    Property Value
    Type Description
    IncomingMessage

    IsRejected

    Gets a value indicating whether the connection request is rejected.

    Declaration
    public bool IsRejected { get; }
    Property Value
    Type Description
    bool

    Methods

    Reject()

    Mark the connection request as rejected.

    Declaration
    public void Reject()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX