PDComm.PdcommStatus
Enum
Status codes returned by the PDComm native library.
public enum PdcommStatusThe binding converts every status other than PdcommStatus.Ok into a PdcommException whose PdcommException.Status carries the code. A few methods handle PdcommStatus.BufferTooSmall or PdcommStatus.OutOfRange themselves and report them through their return value instead.
Members
AllocationFailed
Enumerator
The native library could not allocate memory; the operation can be retried.
AllocationFailed = 4Backpressure
Enumerator
A bounded queue is full; drain events or wait for pending work to finish, then retry.
Backpressure = 9BufferTooSmall
Enumerator
The output buffer is smaller than the required size; nothing was copied.
BufferTooSmall = 3InternalError
Enumerator
An internal error occurred in the native library.
InternalError = 5InvalidArgument
Enumerator
An argument, option structure or handle was invalid for the operation.
InvalidArgument = 1InvalidData
Enumerator
The input bytes are not valid for their declared format, for example a malformed SECS-II item.
InvalidData = 6InvalidState
Enumerator
The operation is not allowed in the endpoint's current state.
InvalidState = 10IoError
Enumerator
A socket, file or other I/O operation failed.
IoError = 12LicenseRequired
Enumerator
No PDComm license grants the module, so no new communication was started. Running endpoints are not affected.
LicenseRequired = 16Install a license with License.Install, the PDCOMM_LICENSE_FILE environment variable or a pdcomm.license file; License.Status reports why the module is refused.
LimitExceeded
Enumerator
A size, count, nesting or other configured limit would be exceeded.
LimitExceeded = 2Ok
Enumerator
The operation succeeded.
Ok = 0OutOfRange
Enumerator
An index, identifier or requested entry does not exist.
OutOfRange = 8Poisoned
Enumerator
An earlier internal failure poisoned the native object; only disposal is meaningful afterwards.
Poisoned = 13ProgramUnconfirmed
Enumerator
A process program change was installed, but its durable persistence could not be confirmed.
ProgramUnconfirmed = 14Do not repeat the change as if it had been rolled back; inspect the program state instead.
SpoolUnconfirmed
Enumerator
A spooling change was installed, but its durable persistence could not be confirmed.
SpoolUnconfirmed = 15Do not repeat the change as if it had been rolled back; inspect the spool state instead.
StaleToken
Enumerator
A token or result belongs to another endpoint, to an earlier connection generation, or was already consumed.
StaleToken = 11Truncated
Enumerator
The input ended before a complete SECS-II item could be decoded.
Truncated = 7