Table of Contents

Class ASE

Namespace
OpenGSQ.Protocols
Assembly
OpenGSQ.dll

All-Seeing Eye Protocol

public class ASE : ProtocolBase
Inheritance
ASE
Inherited Members

Constructors

ASE(string, int, int)

Initializes a new instance of the ASE class.

public ASE(string host, int port, int timeout = 5000)

Parameters

host string

The host to connect to.

port int

The port to connect to.

timeout int

The timeout for the connection.

Properties

FullName

Gets the full name of the protocol.

public override string FullName { get; }

Property Value

string

Methods

GetStatus()

Asynchronously gets the status of the server.

public Task<Status> GetStatus()

Returns

Task<Status>

A task that represents the asynchronous operation. The task result contains a Status object with the status information.

Exceptions

InvalidPacketException

Thrown when the received packet header does not match the expected header.

TimeoutException

Thrown when the operation times out.