UMDS .NET API  6.14
com.latencybusters.umds.UMDS.ERRCODE Class Reference

The ERRCODE class collects the standard error codes to be used with the UMDS client API. All client error codes shall be 32 bits (int). Errcodes generated from the server will have the SERVER_STATUS bit set to differentiate if the error is from the client or server side. Applications can simply cast to an int to get the real error and mask against SERVER_STATUS to determine of the error came from the server if they care. More...

Public Attributes

const int NO_ERROR = 0
 No error has occurred.
 
const int CAPABILITY_MISMATCH = 1
 A capability mismatch between the server and client exists. Check server/client configuration.
 
const int AUTHENTICATION_FAILURE = 2
 Authentication failure occurred with the server. Check the server/client configuration.
 
const int MISSING_CALLBACK = 3
 The UMDS API has not been used correctly. The API did not provide a callback that is required. This indicates a change in the application is required.
 
const int UNKNOWN_PROPERTY = 4
 The UMDS API has not been used correctly. The application attempted to set or get a property that is not recognised. This indicates a change in the application is required.
 
const int SERVER_OPERATION_FAILED = 5
 An operation at the server failed and returned a indication to the client with the reason (status)
 

Detailed Description

The ERRCODE class collects the standard error codes to be used with the UMDS client API. All client error codes shall be 32 bits (int). Errcodes generated from the server will have the SERVER_STATUS bit set to differentiate if the error is from the client or server side. Applications can simply cast to an int to get the real error and mask against SERVER_STATUS to determine of the error came from the server if they care.

See also
UMDSServerConnection.Error()

The documentation for this class was generated from the following file: