UM Java API  6.16.1
com.latencybusters.lbm.LBMAsyncOperationInfo Class Reference

Public Member Functions

int type ()
 
int status ()
 
int flags ()
 
long handle ()
 
UMQContextQueueTopicListInfo contextQueueTopicListInfo () throws LBMEInvalException
 
UMQReceiverQueueMessageListInfo receiverQueueMessageListInfo () throws LBMEInvalException
 
UMQReceiverQueueMessageRetrieveInfo receiverQueueMessageRetrieveInfo () throws LBMEInvalException
 
LBMAsyncOperationInfo promote ()
 
void dispose ()
 

Detailed Description

Class containing generic (status, operation handle, etc.) and possibly specific (operation results) information about a particular asynchronous operation.

Member Function Documentation

UMQContextQueueTopicListInfo com.latencybusters.lbm.LBMAsyncOperationInfo.contextQueueTopicListInfo ( ) throws LBMEInvalException

Gets the results of an LBMContext::queueTopicList asynchronous operation.

Returns
the results.
Exceptions
LBMEInvalExceptionif the async operation information was for an operation type other than LBM::ASYNC_OP_TYPE_CTX_UMQ_QUEUE_TOPIC_LIST.

References com.latencybusters.lbm.LBM.ASYNC_OP_TYPE_CTX_UMQ_QUEUE_TOPIC_LIST.

Referenced by com.latencybusters.lbm.LBMAsyncOperationInfo.receiverQueueMessageRetrieveInfo().

int com.latencybusters.lbm.LBMAsyncOperationInfo.flags ( )
long com.latencybusters.lbm.LBMAsyncOperationInfo.handle ( )

Gets the asynchronous operation's opaque handle (a long value), which can be used to query the operation's status or to cancel it. The handle will only be valid if the asynchronous operation was able to be started; otherwise it will be set to LBM::ASYNC_OP_INVALID_HANDLE .

See also
LBM::ASYNC_OP_INVALID_HANDLE
Returns
The operation's handle.

Referenced by com.latencybusters.lbm.LBMAsyncOperationInfo.receiverQueueMessageRetrieveInfo().

UMQReceiverQueueMessageListInfo com.latencybusters.lbm.LBMAsyncOperationInfo.receiverQueueMessageListInfo ( ) throws LBMEInvalException

Gets the results of an LBMReceiverBase::queueMessageList asynchronous operation.

Returns
the results.
Exceptions
LBMEInvalExceptionif the async operation information was for an operation type other than LBM::ASYNC_OP_TYPE_RCV_UMQ_QUEUE_MSG_LIST.

References com.latencybusters.lbm.LBM.ASYNC_OP_TYPE_RCV_UMQ_QUEUE_MSG_LIST.

int com.latencybusters.lbm.LBMAsyncOperationInfo.status ( )
int com.latencybusters.lbm.LBMAsyncOperationInfo.type ( )

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