Skip to content

RCONConnector ​

A connector for reading log files.

Kind: Class

Namespace: ConnectorLib.RCON

Inheritance: ConnectorBase → IDisposable → IGameConnector

Public Constructors

RCONConnector()

Public Member Functions

Task>

Send(string message)

Sends a message to the server.

virtual override

Task>

Connect()

Task

Init(string host, ushort port, string password)

Initializes the connector.

Task

ExecuteCommandAsync(string command, bool isMultiPacketResponse = false)

Asynchronously executes a command on the RCON server and returns the response.

Public Attributes

JsonSerializerSettings

JSON_SETTINGS

Settings for JSON serialization.

Properties

bool

Connected

[get, ]