[][src]Enum tibco_ems_sys::tibems_status

#[repr(C)]pub enum tibems_status {
    TIBEMS_OK,
    TIBEMS_ILLEGAL_STATE,
    TIBEMS_INVALID_CLIENT_ID,
    TIBEMS_INVALID_DESTINATION,
    TIBEMS_INVALID_SELECTOR,
    TIBEMS_EXCEPTION,
    TIBEMS_SECURITY_EXCEPTION,
    TIBEMS_MSG_EOF,
    TIBEMS_MSG_NOT_READABLE,
    TIBEMS_MSG_NOT_WRITEABLE,
    TIBEMS_SERVER_NOT_CONNECTED,
    TIBEMS_VERSION_MISMATCH,
    TIBEMS_SUBJECT_COLLISION,
    TIBEMS_INVALID_PROTOCOL,
    TIBEMS_INVALID_HOSTNAME,
    TIBEMS_INVALID_PORT,
    TIBEMS_NO_MEMORY,
    TIBEMS_INVALID_ARG,
    TIBEMS_SERVER_LIMIT,
    TIBEMS_MSG_DUPLICATE,
    TIBEMS_SERVER_DISCONNECTED,
    TIBEMS_SERVER_RECONNECTING,
    TIBEMS_NOT_PERMITTED,
    TIBEMS_SERVER_RECONNECTED,
    TIBEMS_INVALID_NAME,
    TIBEMS_INVALID_TYPE,
    TIBEMS_INVALID_SIZE,
    TIBEMS_INVALID_COUNT,
    TIBEMS_NOT_FOUND,
    TIBEMS_ID_IN_USE,
    TIBEMS_ID_CONFLICT,
    TIBEMS_CONVERSION_FAILED,
    TIBEMS_INVALID_MSG,
    TIBEMS_INVALID_FIELD,
    TIBEMS_INVALID_INSTANCE,
    TIBEMS_CORRUPT_MSG,
    TIBEMS_PRODUCER_FAILED,
    TIBEMS_TIMEOUT,
    TIBEMS_INTR,
    TIBEMS_DESTINATION_LIMIT_EXCEEDED,
    TIBEMS_MEM_LIMIT_EXCEEDED,
    TIBEMS_USER_INTR,
    TIBEMS_INVALID_QUEUE_GROUP,
    TIBEMS_INVALID_TIME_INTERVAL,
    TIBEMS_INVALID_IO_SOURCE,
    TIBEMS_INVALID_IO_CONDITION,
    TIBEMS_SOCKET_LIMIT,
    TIBEMS_OS_ERROR,
    TIBEMS_WOULD_BLOCK,
    TIBEMS_INSUFFICIENT_BUFFER,
    TIBEMS_EOF,
    TIBEMS_INVALID_FILE,
    TIBEMS_FILE_NOT_FOUND,
    TIBEMS_IO_FAILED,
    TIBEMS_NOT_FILE_OWNER,
    TIBEMS_ALREADY_EXISTS,
    TIBEMS_INVALID_CONNECTION,
    TIBEMS_INVALID_SESSION,
    TIBEMS_INVALID_CONSUMER,
    TIBEMS_INVALID_PRODUCER,
    TIBEMS_INVALID_USER,
    TIBEMS_INVALID_GROUP,
    TIBEMS_TRANSACTION_FAILED,
    TIBEMS_TRANSACTION_ROLLBACK,
    TIBEMS_TRANSACTION_RETRY,
    TIBEMS_INVALID_XARESOURCE,
    TIBEMS_FT_SERVER_LACKS_TRANSACTION,
    TIBEMS_LDAP_ERROR,
    TIBEMS_INVALID_PROXY_USER,
    TIBEMS_INVALID_CERT,
    TIBEMS_INVALID_CERT_NOT_YET,
    TIBEMS_INVALID_CERT_EXPIRED,
    TIBEMS_INVALID_CERT_DATA,
    TIBEMS_ALGORITHM_ERROR,
    TIBEMS_SSL_ERROR,
    TIBEMS_INVALID_PRIVATE_KEY,
    TIBEMS_INVALID_ENCODING,
    TIBEMS_NOT_ENOUGH_RANDOM,
    TIBEMS_INVALID_CRL_DATA,
    TIBEMS_CRL_OFF,
    TIBEMS_EMPTY_CRL,
    TIBEMS_NOT_INITIALIZED,
    TIBEMS_INIT_FAILURE,
    TIBEMS_ARG_CONFLICT,
    TIBEMS_SERVICE_NOT_FOUND,
    TIBEMS_INVALID_CALLBACK,
    TIBEMS_INVALID_QUEUE,
    TIBEMS_INVALID_EVENT,
    TIBEMS_INVALID_SUBJECT,
    TIBEMS_INVALID_DISPATCHER,
    TIBEMS_JNI_EXCEPTION,
    TIBEMS_JNI_ERR,
    TIBEMS_JNI_EDETACHED,
    TIBEMS_JNI_EVERSION,
    TIBEMS_JNI_EEXIST,
    TIBEMS_JNI_EINVAL,
    TIBEMS_NO_MEMORY_FOR_OBJECT,
    TIBEMS_UFO_CONNECTION_FAILURE,
    TIBEMS_NOT_IMPLEMENTED,
}

tibco ems status

Variants

TIBEMS_OK

The call completed normally.

TIBEMS_ILLEGAL_STATE

A function call or server request occurred in an inappropriate context. For example, tibemsSession_Commit indicates this status when the session is non-transactional.

TIBEMS_INVALID_CLIENT_ID

The provider rejects the connection’s client ID. Setting a connection’s client ID to an invalid or duplicate value results in this exception. (A duplicate value is one that is already in use by another connection.)

TIBEMS_INVALID_DESTINATION

tibemsd cannot locate the destination.

TIBEMS_INVALID_SELECTOR

The client passed a message selector with invalid syntax; see Message Selectors.

TIBEMS_EXCEPTION

Non-specific error code.

TIBEMS_SECURITY_EXCEPTION

The function cannot complete because of a security restriction. For example, the provider rejects a user or the user’s authentication.

TIBEMS_MSG_EOF

The data stream within a message ended unexpectedly. tibemsBytesMsg contains a stream of bytes. tibemsStreamMsg contains a stream of characters. If any of their read functions detects the end of a stream unexpectedly, it indicates this status.

TIBEMS_MSG_NOT_READABLE

Attempt to read from a message in write-only mode.

TIBEMS_MSG_NOT_WRITEABLE

Attempt to write to a message in read-only mode. See also, tibemsMsg_MakeWriteable.

TIBEMS_SERVER_NOT_CONNECTED

An attempt to connect to the server has failed. The operation requires a server connection, but the program is not connected.

TIBEMS_VERSION_MISMATCH
TIBEMS_SUBJECT_COLLISION

The server cannot create a topic or durable because the name is already in use. (Also applies to collisions with external subjects, such as Rendezvous.)

TIBEMS_INVALID_PROTOCOL

Cannot create a connection or transaction because the specified protocol does not exist.

TIBEMS_INVALID_HOSTNAME

The connection URL includes an invalid hostname, or an attempt to lookup the host address failed. Host names must be less than 128 characters.

TIBEMS_INVALID_PORT

The connection URL includes an invalid port number.

TIBEMS_NO_MEMORY

The program exceeded available memory during the call.

TIBEMS_INVALID_ARG

The function received an illegal value as an argument.

TIBEMS_SERVER_LIMIT

The server has exceeded the maximum number of licensed connections or hosts that it can service.

TIBEMS_MSG_DUPLICATE
TIBEMS_SERVER_DISCONNECTED
TIBEMS_SERVER_RECONNECTING
TIBEMS_NOT_PERMITTED

The function call is not permitted (for example, closing a connection within a callback).

TIBEMS_SERVER_RECONNECTED

Exception callback handler functions receive this code to indicate that the server has reconnected. See tibemsExceptionCallback

TIBEMS_INVALID_NAME

In a lookup request, the name has incorrect syntax. The most common syntax error is a prefix other than tibjmsnaming:// (or a misspelling). See also, tibemsLookupContext.

TIBEMS_INVALID_TYPE
TIBEMS_INVALID_SIZE

An argument is outside the range of valid values.

TIBEMS_INVALID_COUNT
TIBEMS_NOT_FOUND
  1. The name lookup repository cannot find a name; the name is not bound. See also, tibemsLookupContext
  2. A function that gets a message field or property value cannot find the specified item because the name is not bound in the message.
TIBEMS_ID_IN_USE
TIBEMS_ID_CONFLICT
TIBEMS_CONVERSION_FAILED

A datatype conversion failed while parsing a message (converting UTF-8 data to native datatypes).

TIBEMS_INVALID_MSG

The message is uninitialized or corrupt.

TIBEMS_INVALID_FIELD

The message contains an invalid field. The message might be corrupt.

TIBEMS_INVALID_INSTANCE
TIBEMS_CORRUPT_MSG

The message is corrupt.

TIBEMS_PRODUCER_FAILED
TIBEMS_TIMEOUT

The timeout has expired while waiting for a message. See tibemsMsgConsumer_ReceiveTimeout.

TIBEMS_INTR

A blocking operation has been interrupted. See tibemsMsgConsumer_Receive.

TIBEMS_DESTINATION_LIMIT_EXCEEDED

A server queue or topic has exceeded its size limit, and cannot add a new message.

TIBEMS_MEM_LIMIT_EXCEEDED

The server has exceeded its memory limit.

TIBEMS_USER_INTR

IBM z/OS only. A blocking operation has been interrupted. See tibx_MVSConsole_SetConsumer().

TIBEMS_INVALID_QUEUE_GROUP
TIBEMS_INVALID_TIME_INTERVAL
TIBEMS_INVALID_IO_SOURCE

The function detected an invalid I/O source (such as a socket or file).

TIBEMS_INVALID_IO_CONDITION
TIBEMS_SOCKET_LIMIT
TIBEMS_OS_ERROR

An operating system error occurred during the call.

TIBEMS_WOULD_BLOCK
TIBEMS_INSUFFICIENT_BUFFER

The result of the call overflowed the buffer supplied by the program.

TIBEMS_EOF

The call detected an unexpected end-of-file.

TIBEMS_INVALID_FILE

The function detected an invalid file.

TIBEMS_FILE_NOT_FOUND

The specified file does not exist.

TIBEMS_IO_FAILED

An operating system I/O call failed.

TIBEMS_NOT_FILE_OWNER
TIBEMS_ALREADY_EXISTS

Cannot create an item that already exists.

TIBEMS_INVALID_CONNECTION

The connection is invalid.

TIBEMS_INVALID_SESSION

The session is invalid.

TIBEMS_INVALID_CONSUMER

The consumer is invalid.

TIBEMS_INVALID_PRODUCER

The producer is invalid.

TIBEMS_INVALID_USER

The server could not authenticate the user.

TIBEMS_INVALID_GROUP
TIBEMS_TRANSACTION_FAILED

A transaction failed at the server during a commit call.

TIBEMS_TRANSACTION_ROLLBACK

Failure during prepare or commit caused automatic rollback of a transaction. This type of rollback can occur during fault tolerance failover.

TIBEMS_TRANSACTION_RETRY

A transaction failed during two-phase commit; the program may attempt to commit it again.

TIBEMS_INVALID_XARESOURCE

When a session uses an XA transaction manager, the XA resource is the correct locus for all commit and rollback requests. Local commit or rollback calls are not permitted, and indicate this status.

TIBEMS_FT_SERVER_LACKS_TRANSACTION

The producer attempted to send a message immediately after a fault tolerance failover to another server. The new server has no record of the transaction.

TIBEMS_LDAP_ERROR
TIBEMS_INVALID_PROXY_USER
TIBEMS_INVALID_CERT

SSL detected an invalid X.509 certificate.

TIBEMS_INVALID_CERT_NOT_YET

SSL detected an X.509 certificate that is not yet valid; that is, the current date is before the first date for which the certificate becomes valid.

TIBEMS_INVALID_CERT_EXPIRED

SSL detected an X.509 certificate that is no longer valid; that is, the current date is after the expiration date.

TIBEMS_INVALID_CERT_DATA

SSL detected an X.509 certificate containing corrupt data.

TIBEMS_ALGORITHM_ERROR

Error loading a cipher suite algorithm.

TIBEMS_SSL_ERROR

Generic SSL error code.

TIBEMS_INVALID_PRIVATE_KEY

SSL detected a private key that does not match its public key.

TIBEMS_INVALID_ENCODING

SSL detected a certificate encoding that it cannot read.

TIBEMS_NOT_ENOUGH_RANDOM

SSL lacks sufficient random data to complete an operation securely.

TIBEMS_INVALID_CRL_DATA
TIBEMS_CRL_OFF
TIBEMS_EMPTY_CRL
TIBEMS_NOT_INITIALIZED

Initialization of the tibems library failed. For example, this code could be generated if the library failed to allocate memory while building its basic structures.

TIBEMS_INIT_FAILURE
TIBEMS_ARG_CONFLICT
TIBEMS_SERVICE_NOT_FOUND
TIBEMS_INVALID_CALLBACK
TIBEMS_INVALID_QUEUE
TIBEMS_INVALID_EVENT
TIBEMS_INVALID_SUBJECT
TIBEMS_INVALID_DISPATCHER
TIBEMS_JNI_EXCEPTION
TIBEMS_JNI_ERR
TIBEMS_JNI_EDETACHED
TIBEMS_JNI_EVERSION
TIBEMS_JNI_EEXIST
TIBEMS_JNI_EINVAL
TIBEMS_NO_MEMORY_FOR_OBJECT
TIBEMS_UFO_CONNECTION_FAILURE
TIBEMS_NOT_IMPLEMENTED

The function is not implemented.

Trait Implementations

impl Debug for tibems_status[src]

impl PartialEq<tibems_status> for tibems_status[src]

impl StructuralPartialEq for tibems_status[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.