Interface IConsoleServer
Assembly: cs.temp.dll.dll
Syntax
public interface IConsoleServer
Properties
ConnectedClientsCount
Declaration
int ConnectedClientsCount { get; }
Property Value
ConnectedClientSenders
Declaration
IReadOnlyCollection<ICommandSender> ConnectedClientSenders { get; }
Property Value
Port
Declaration
Property Value
Methods
Dispose()
Declaration
SendLogToAllClients(String, LogType)
Declaration
void SendLogToAllClients(string message, LogType logType = LogType.DEFAULT)
Parameters
Start(UInt16, Boolean)
Declaration
bool Start(ushort port, bool broadcastReceiveEnabled = true)
Parameters
Type |
Name |
Description |
UInt16 |
port |
|
Boolean |
broadcastReceiveEnabled |
|
Returns
Update()
Declaration
Events
OnCommandSenderConnectedEvent
Declaration
event Action<ICommandSender> OnCommandSenderConnectedEvent
Event Type
OnCommandSenderDisconnectedEvent
Declaration
event Action<ICommandSender> OnCommandSenderDisconnectedEvent
Event Type
OnCommandStringReceivedEvent
Declaration
event Action<string, ICommandSender> OnCommandStringReceivedEvent
Event Type