Class ASE
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
hoststringThe host to connect to.
portintThe port to connect to.
timeoutintThe timeout for the connection.
Properties
FullName
Gets the full name of the protocol.
public override string FullName { get; }
Property Value
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.