#[repr(C)]
pub enum tibemsAcknowledgeMode {
    TIBEMS_SESSION_TRANSACTED,
    TIBEMS_AUTO_ACKNOWLEDGE,
    TIBEMS_CLIENT_ACKNOWLEDGE,
    TIBEMS_DUPS_OK_ACKNOWLEDGE,
    TIBEMS_NO_ACKNOWLEDGE,
    TIBEMS_EXPLICIT_CLIENT_ACKNOWLEDGE,
    TIBEMS_EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE,
}
Expand description

acknowledgement types

Variants

TIBEMS_SESSION_TRANSACTED

transacted

TIBEMS_AUTO_ACKNOWLEDGE

In this mode, the session automatically acknowledges a message when message processing is finished—that is, when either of these calls returns successfully: synchronous receive calls (such as tibemsMsgConsumer_Receive) asynchronous listener callback (namely, tibemsMsgCallback)

TIBEMS_CLIENT_ACKNOWLEDGE

In this mode, the client program acknowledges receipt by calling tibemsMsg_Acknowledge. Each call acknowledges all messages received so far.

TIBEMS_DUPS_OK_ACKNOWLEDGE

As with TIBEMS_AUTO_ACKNOWLEDGE, the session automatically acknowledges messages. However, it may do so lazily. Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message. Lazy acknowledgement can reduce session overhead.

TIBEMS_NO_ACKNOWLEDGE

In TIBEMS_NO_ACKNOWLEDGE mode, messages do not require acknowledgement (which reduces message overhead). The server never redelivers messages. This mode and behavior are proprietary extensions, specific to TIBCO EMS.

TIBEMS_EXPLICIT_CLIENT_ACKNOWLEDGE

As with TIBEMS_CLIENT_ACKNOWLEDGE, the client program acknowledges receipt by calling tibemsMsg_Acknowledge. However, each call acknowledges only the individual message. The client may acknowledge messages in any order. This mode and behavior are proprietary extensions, specific to TIBCO EMS.

TIBEMS_EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE

In this mode, the client program lazily acknowledges only the individual message, by calling tibemsMsg_Acknowledge. The client may acknowledge messages in any order. Lazy means that the provider client library can delay transferring the acknowledgement to the server until a convenient time; meanwhile the server might redeliver the message. This mode and behavior are proprietary extensions, specific to TIBCO EMS.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.