Search Results for

    Show / Hide Table of Contents

    Interface IConsoleServer

    Namespace: Clavusaurus.Cosmos
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IConsoleServer

    Properties

    ConnectedClientsCount

    Declaration
    int ConnectedClientsCount { get; }
    Property Value
    Type Description
    Int32

    ConnectedClientSenders

    Declaration
    IReadOnlyCollection<ICommandSender> ConnectedClientSenders { get; }
    Property Value
    Type Description
    IReadOnlyCollection<ICommandSender>

    Port

    Declaration
    ushort Port { get; }
    Property Value
    Type Description
    UInt16

    Methods

    Dispose()

    Declaration
    void Dispose()

    SendLogToAllClients(String, LogType)

    Declaration
    void SendLogToAllClients(string message, LogType logType = LogType.DEFAULT)
    Parameters
    Type Name Description
    String message
    LogType logType

    Start(UInt16, Boolean)

    Declaration
    bool Start(ushort port, bool broadcastReceiveEnabled = true)
    Parameters
    Type Name Description
    UInt16 port
    Boolean broadcastReceiveEnabled
    Returns
    Type Description
    Boolean

    Update()

    Declaration
    void Update()

    Events

    OnCommandSenderConnectedEvent

    Declaration
    event Action<ICommandSender> OnCommandSenderConnectedEvent
    Event Type
    Type Description
    Action<ICommandSender>

    OnCommandSenderDisconnectedEvent

    Declaration
    event Action<ICommandSender> OnCommandSenderDisconnectedEvent
    Event Type
    Type Description
    Action<ICommandSender>

    OnCommandStringReceivedEvent

    Declaration
    event Action<string, ICommandSender> OnCommandStringReceivedEvent
    Event Type
    Type Description
    Action<String, ICommandSender>
    ☀
    ☾
    In This Article
    Back to top
    © Clavusaurus Game Software
    ☀
    ☾