UM .NET API
6.16.1
|
LBM Hot-Failover Source class. More...
Public Member Functions | |
LBMHotFailoverSource (LBMContext lbmctx, LBMTopic lbmtopic) | |
Instantiate an LBM Hot-Failover Source object associated with a given context and topic. More... | |
LBMHotFailoverSource (LBMContext lbmctx, LBMTopic lbmtopic, LBMSourceEventCallback cb, object cbArg) | |
Instantiate an LBM Hot-Failover Source object associated with a given context and topic and initialize source event callback. More... | |
LBMHotFailoverSource (LBMContext lbmctx, LBMTopic lbmtopic, LBMEventQueue lbmevq) | |
Instantiate an LBM Hot-Failover Source object associated with a given context, topic, and event queue. More... | |
LBMHotFailoverSource (LBMContext lbmctx, LBMTopic lbmtopic, LBMSourceEventCallback cb, object cbArg, LBMEventQueue lbmevq) | |
Instantiate an LBM Hot-Failover Source object associated with a given context, topic, and event queue and initialize source event callback. More... | |
void | send (byte[] message, int messageLength, long sqn, int flags) |
Send a message to the topic associated with the LBM source. More... | |
void | send (byte[] message, int messageLength, long sqn, int flags, LBMSourceSendExInfo exinfo) |
Send a message to the topic associated with the LBM source. More... | |
void | sendReceiverReset (int flags, LBMSourceSendExInfo exinfo) |
Send a message that instructs hot-failover receivers to reset their state. In, and only in, the case that hf receivers cannot be manually restarted, this function can be used to allow delivering of previously sent sequence numbers. The hot-failover receiver will deliver a message of type LBM.MSG_HF_RESET and will include the new expected sequence number. The sequence number contained with the reset will be used as the next expected sequence number to be sent. NOTE: The best way to reset a hot-failover receiver's state is to restart the receiver itself. This function should be used only when that is impossible. More... | |
void | close () |
Close and dispose of this source. More... | |
void | umederegister () |
Deregister the UME Source. More... | |
bool | isClosed () |
Check if a source has been closed. More... | |
LBMSourceChannelInfo | createChannel (long channelNumber) |
Create a channel object to send messages with the given channel number. More... | |
void | deleteChannel (LBMSourceChannelInfo channelInfo) |
Deletea channel object. More... | |
void | addSourceCallback (LBMSourceEventCallback cb) |
Register a source event callback. More... | |
void | addSourceCallback (LBMSourceEventCallback cb, object cbArg) |
Register a source event callback (and callback token) More... | |
void | removeSourceCallback (LBMSourceEventCallback cb) |
Deregister a source event callback. More... | |
void | removeSourceCallback (LBMSourceEventCallback cb, object cbArg) |
Deregister a source event callback. More... | |
unsafe List< LBMConfigOption > | dumpAttributeList () |
Dump source configuration options. More... | |
string | getAttributeValue (string attributeName) |
Returns the value of a source-related attribute for this source. More... | |
void | setAttributeValue (string attributeName, string attributeValue) |
Set the value of a source-related attribute for this source. More... | |
LBMSourceStatistics | getStatistics () |
Return the current set of source transport statistics for this source. More... | |
void | resetStatistics () |
This will reset the transport statistics for this source. More... | |
int | getInflight (int type) |
Get the current inflight value for this source. More... | |
void | getInflight (int type, out int messages, out ulong bytes) |
Get the current inflight values for message and bytes. More... | |
int | setInflight (int type, LBMSetInflightCallback cb, object cbObj) |
Set the current inflight value for this source. More... | |
void | setInflight (int type, out int messages, out ulong bytes, LBMSetInflightCallbackEx cb, object cbObj) |
Set the current inflight messages and bytes for this source. Note that increasing one value while decreasing the other is not allowed. If you need to do this, call setInflight twice using 0 as the value for the one you are not changing. More... | |
void | setUMEMessageStable (long sqn) |
Mark a specific sqn as stable, triggering an event if configured to do so, and adjusting the inflight if necessary. More... | |
void | send (byte[] message, int messageLength, int flags) |
Send a message to the topic associated with the LBM source. More... | |
void | send (byte[] message, int messageLength, int flags, object cbArg) |
Send a message to the topic associated with the LBM source. More... | |
void | send (byte[] message, int messageLength, int flags, LBMSourceSendExInfo exinfo) |
Send a message to the topic associated with the LBM source. More... | |
void | send (LBMRequest lbmreq, int flags) |
Send a request message to the topic associated with the LBM source. More... | |
void | send (LBMRequest lbmreq, LBMEventQueue lbmevq, int flags) |
Send a request message to the topic associated with the LBM source using a designated event queue for responses. More... | |
void | send (LBMRequest lbmreq, int flags, LBMSourceSendExInfo exinfo) |
Send a request message to the topic associated with the LBM source using an designated event queue for responses. More... | |
void | send (LBMRequest lbmreq, LBMEventQueue lbmevq, int flags, LBMSourceSendExInfo exinfo) |
Send a request message to the topic associated with the LBM source using an designated event queue for responses. More... | |
void | flush () |
Send messages from both the explicit and implicit batches ASAP. More... | |
int | buffAcquire (out IntPtr bufp, uint len, int flags) |
Acquire a pointer to a buffer of the specified length, to be filled in and sent later. Warning: this API is NOT thread safe between sources on the same transport session. For thread safety, use the send api. More... | |
void | buffsComplete () |
Sends all buffers on a transport session that had ben previously acquired. Warning: this API is NOT thread safe between sources on the same transport session. | |
int | buffsCompleteAndAcquire (out IntPtr bufp, uint len, int flags) |
First sends all buffers on a transport session that had ben previously acquired, and then acquires a pointer to a buffer of the specified length, to be filled in and sent later. Warning: this API is NOT thread safe between sources on the same transport session. More... | |
void | buffsCancel () |
Cancels all outstanding (not yet completed) buffers previously acquired using buffAcquire or buffsCompleteAndAcquire. All such acquired but not completed buffers for this source (only) will no longer be received by any receives. | |
void | Dispose () |
Same as close. More... | |
LBM Hot-Failover Source class.
Warning: It is not safe to instantiate this object from a context thread.
com.latencybusters.lbm.LBMHotFailoverSource.LBMHotFailoverSource | ( | LBMContext | lbmctx, |
LBMTopic | lbmtopic | ||
) |
Instantiate an LBM Hot-Failover Source object associated with a given context and topic.
Warning: It is not safe to call this constructor from a context thread callback.
lbmctx | Context with which to associate the source |
lbmtopic | LBMTopic used to initialize the source |
References com.latencybusters.lbm.LBMSourceEventCallback().
com.latencybusters.lbm.LBMHotFailoverSource.LBMHotFailoverSource | ( | LBMContext | lbmctx, |
LBMTopic | lbmtopic, | ||
LBMSourceEventCallback | cb, | ||
object | cbArg | ||
) |
Instantiate an LBM Hot-Failover Source object associated with a given context and topic and initialize source event callback.
Warning: It is not safe to call this constructor from a context thread callback.
lbmctx | Context with which to associate the source |
lbmtopic | LBMTopic used to initialize the source |
cb | Callback implementing the LBMSourceEventCallback delegate interface |
cbArg | Callback token object |
com.latencybusters.lbm.LBMHotFailoverSource.LBMHotFailoverSource | ( | LBMContext | lbmctx, |
LBMTopic | lbmtopic, | ||
LBMEventQueue | lbmevq | ||
) |
Instantiate an LBM Hot-Failover Source object associated with a given context, topic, and event queue.
Warning: It is not safe to call this constructor from a context thread callback.
lbmctx | Context with which to associate the source |
lbmtopic | LBMTopic used to initialize the source |
lbmevq | Event queue with which to associate the source (all source events will be posted to this event queue) |
References com.latencybusters.lbm.LBMSourceEventCallback().
com.latencybusters.lbm.LBMHotFailoverSource.LBMHotFailoverSource | ( | LBMContext | lbmctx, |
LBMTopic | lbmtopic, | ||
LBMSourceEventCallback | cb, | ||
object | cbArg, | ||
LBMEventQueue | lbmevq | ||
) |
Instantiate an LBM Hot-Failover Source object associated with a given context, topic, and event queue and initialize source event callback.
Warning: It is not safe to call this constructor from a context thread callback.
lbmctx | Context with which to associate the source |
lbmtopic | LBMTopic used to initialize the source |
cb | Callback implementing the LBMSourceEventCallback delegate interface |
cbArg | Callback token object |
lbmevq | Event queue with which to associate the source |
com.latencybusters.lbm.LBMEInvalException | Topic is not a source topic |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), and com.latencybusters.lbm.LBM.SRC_TOPIC_ATTR_UMQ_ULB_EVENT_MSG_COMPLETE.
|
inherited |
Register a source event callback.
cb | Callback implementing the LBMSourceEventCallback delegate interface |
|
inherited |
Register a source event callback (and callback token)
cb | Callback implementing the LBMSourceEventCallback delegate interface |
cbArg | Callback token object |
|
inherited |
Acquire a pointer to a buffer of the specified length, to be filled in and sent later. Warning: this API is NOT thread safe between sources on the same transport session. For thread safety, use the send api.
bufp | A pointer to the location in memory availble for writing to. |
len | The request length of the buffer in bytes |
flags | Set to LBM.SRC_NONBLOCK for non-blocking behavior. Default is blocking. |
References com.latencybusters.lbm.LBM.EINVAL.
|
inherited |
First sends all buffers on a transport session that had ben previously acquired, and then acquires a pointer to a buffer of the specified length, to be filled in and sent later. Warning: this API is NOT thread safe between sources on the same transport session.
bufp | A pointer to the location in memory availble for writing to. |
len | The request length of the buffer in bytes |
flags | Set to LBM.SRC_NONBLOCK for non-blocking behavior. Default is blocking. |
References com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Close and dispose of this source.
Warning: It is not safe to call this method from a context thread callback.
|
inherited |
Create a channel object to send messages with the given channel number.
channelNumber | Channel number in the range 0-4294967295 |
|
inherited |
Deletea channel object.
channelInfo | A channelInfo object |
References com.latencybusters.lbm.LBMSourceChannelInfo.close().
|
inherited |
Same as close.
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Dump source configuration options.
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), com.latencybusters.lbm.LBMConfigOption.OptionName, com.latencybusters.lbm.LBMConfigOption.Type, and com.latencybusters.lbm.LBMConfigOption.Value.
|
inherited |
Send messages from both the explicit and implicit batches ASAP.
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Returns the value of a source-related attribute for this source.
attributeName | Name of the attribute to retrieve |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Get the current inflight value for this source.
type | The type of flight size |
com.latencybusters.lbm.LBMException | if an error occurs while retrieving the inflight value |
|
inherited |
Get the current inflight values for message and bytes.
type | The type of flight size |
messages | This reference will be set to the current number of inflight messages. |
bytes | This reference will be set to the current number of inflight bytes. |
|
inherited |
Return the current set of source transport statistics for this source.
References com.latencybusters.lbm.LBMSourceStatistics.refresh(), and com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveSourceStatistics().
|
inherited |
Check if a source has been closed.
|
inherited |
Deregister a source event callback.
cb | Previously registered callback implementing the LBMSourceEventCallback delegate interface |
|
inherited |
Deregister a source event callback.
cb | Previously registered callback implementing the LBMSourceEventCallback delegate interface |
cbArg | Callback token object |
References com.latencybusters.lbm.LBMSourceEventCallback(), and com.latencybusters.lbm.LBMObjectRecyclerBase.retrieveSourceEvent().
|
inherited |
This will reset the transport statistics for this source.
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
void com.latencybusters.lbm.LBMHotFailoverSource.send | ( | byte [] | message, |
int | messageLength, | ||
long | sqn, | ||
int | flags | ||
) |
Send a message to the topic associated with the LBM source.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH
message | Data to send in this message |
messageLength | Number of bytes of data to send in this message |
sqn | The application sequence number to associate with this message |
flags | Flags indicating various conditions |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
void com.latencybusters.lbm.LBMHotFailoverSource.send | ( | byte[] | message, |
int | messageLength, | ||
long | sqn, | ||
int | flags, | ||
LBMSourceSendExInfo | exinfo | ||
) |
Send a message to the topic associated with the LBM source.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH LBM.SRC_EVENT_UME_MESSAGE_STABLE LBM.SRC_EVENT_UME_MESSAGE_STABLE_EX LBM.SRC_EVENT_UME_DELIVERY_CONFIRMATION LBM.SRC_EVENT_UME_DELIVERY_CONFIRMATION_EX
message | Data to send in this message |
messageLength | Number of bytes of data to send in this message |
sqn | The application sequence number to associate with this message |
flags | Flags indicating various conditions |
exinfo | LBMSourceSendExInfo object, which includes flags to change callback behavior and a client-supplied object to be passed back. (UME only) |
com.latencybusters.lbm.LBMEInvalException | Confirmed delivery or message stability notifications are not enabled |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMSourceSendExInfo.clientObject(), com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), com.latencybusters.lbm.LBMSourceSendExInfo.flags(), com.latencybusters.lbm.LBMSourceSendExInfo.getHfSequenceNumber32(), com.latencybusters.lbm.LBMSourceSendExInfo.getHfSequenceNumber64(), com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_HF_32, and com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_HF_64.
|
inherited |
Send a message to the topic associated with the LBM source.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH LBM.SRC_EVENT_UME_MESSAGE_STABLE LBM.SRC_EVENT_UME_DELIVERY_CONFIRMATION
message | Data to send in this message |
messageLength | Number of bytes of data to send in this message |
flags | Flags indicating various conditions |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), com.latencybusters.lbm.LBM.EWOULDBLOCK, and com.latencybusters.lbm.LBM.SRC_NONBLOCK.
|
inherited |
Send a message to the topic associated with the LBM source.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH LBM.SRC_EVENT_UME_MESSAGE_STABLE LBM.SRC_EVENT_UME_DELIVERY_CONFIRMATION
message | Data to send in this message |
messageLength | Number of bytes of data to send in this message |
flags | Flags indicating various conditions |
cbArg | Client object to be passed back in stability or confirmation events related to this message (UME only) |
com.latencybusters.lbm.LBMEInvalException | Certified delivery notification is not enabled |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Send a message to the topic associated with the LBM source.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH LBM.SRC_EVENT_UME_MESSAGE_STABLE LBM.SRC_EVENT_UME_MESSAGE_STABLE_EX LBM.SRC_EVENT_UME_DELIVERY_CONFIRMATION LBM.SRC_EVENT_UME_DELIVERY_CONFIRMATION_EX
message | Data to send in this message |
messageLength | Number of bytes of data to send in this message |
flags | Flags indicating various conditions |
exinfo | LBMSourceSendExInfo object, which includes flags to change callback behavior and a client-supplied object to be passed back. (UME only) |
com.latencybusters.lbm.LBMEInvalException | Confirmed delivery or message stability notifications are not enabled |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), com.latencybusters.lbm.LBMSourceSendExInfo.clientObject(), com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), com.latencybusters.lbm.UMQIndexInfo.flags(), com.latencybusters.lbm.LBMSourceSendExInfo.flags(), com.latencybusters.lbm.UMQIndexInfo.index(), com.latencybusters.lbm.UMQIndexInfo.indexLength(), com.latencybusters.lbm.UMQIndexInfo.numericIndex(), com.latencybusters.lbm.LBMSourceSendExInfo.properties(), com.latencybusters.lbm.UMQMessageTotalLifetimeInfo.totalLifetime(), and com.latencybusters.lbm.LBM.UMQ_INDEX_FLAG_NUMERIC.
|
inherited |
Send a request message to the topic associated with the LBM source.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH
lbmreq | LBMRequest object |
flags | Flags indicating various conditions |
|
inherited |
Send a request message to the topic associated with the LBM source using a designated event queue for responses.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH
lbmreq | LBMRequest object |
lbmevq | LBMEventQueue used to handle response messages |
flags | Flags indicating various conditions |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMRequest.data(), com.latencybusters.lbm.LBMRequest.dataLength(), com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Send a request message to the topic associated with the LBM source using an designated event queue for responses.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH
lbmreq | LBMRequest object |
flags | Flags indicating various conditions |
exinfo | LBMSourceSendExInfo object, which includes flags to change callback behavior and a client-supplied object to be passed back. (UME only) |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
|
inherited |
Send a request message to the topic associated with the LBM source using an designated event queue for responses.
Possible OR'd set of flag value include:
LBM.SRC_NONBLOCK, LBM.SRC_BLOCK, LBM.MSG_START_BATCH, LBM.MSG_END_BATCH, LBM.MSG_COMPLETE_BATCH, and LBM.MSG_FLUSH
lbmreq | LBMRequest object |
lbmevq | LBMEventQueue used to handle response messages |
flags | Flags indicating various conditions |
exinfo | LBMSourceSendExInfo object, which includes flags to change callback behavior and a client-supplied object to be passed back. (UME only) |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), com.latencybusters.lbm.LBMSourceSendExInfo.clientObject(), com.latencybusters.lbm.LBMRequest.data(), com.latencybusters.lbm.LBMRequest.dataLength(), com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), com.latencybusters.lbm.UMQIndexInfo.flags(), com.latencybusters.lbm.LBMSourceSendExInfo.flags(), com.latencybusters.lbm.UMQIndexInfo.index(), com.latencybusters.lbm.UMQIndexInfo.indexLength(), com.latencybusters.lbm.UMQIndexInfo.numericIndex(), com.latencybusters.lbm.UMQMessageTotalLifetimeInfo.totalLifetime(), and com.latencybusters.lbm.LBM.UMQ_INDEX_FLAG_NUMERIC.
void com.latencybusters.lbm.LBMHotFailoverSource.sendReceiverReset | ( | int | flags, |
LBMSourceSendExInfo | exinfo | ||
) |
Send a message that instructs hot-failover receivers to reset their state. In, and only in, the case that hf receivers cannot be manually restarted, this function can be used to allow delivering of previously sent sequence numbers. The hot-failover receiver will deliver a message of type LBM.MSG_HF_RESET and will include the new expected sequence number. The sequence number contained with the reset will be used as the next expected sequence number to be sent. NOTE: The best way to reset a hot-failover receiver's state is to restart the receiver itself. This function should be used only when that is impossible.
Hot failover send flags on the exinfo parameter LBM.SRC_SEND_EX_FLAG_HF_32, or LBM.SRC_SEND_EX_FLAG_HF_64
flags | Flags indicating various send conditions |
exinfo | Send ex info containing hf reset sequence number |
com.latencybusters.lbm.LBMEInvalException | Exinfo was null, Confirmed delivery or message stability notifications are not enabled |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBMSourceSendExInfo.clientObject(), com.latencybusters.lbm.LBM.EINVAL, com.latencybusters.lbm.LBM.errorMessage(), com.latencybusters.lbm.LBM.errorNumber(), com.latencybusters.lbm.LBMSourceSendExInfo.flags(), com.latencybusters.lbm.LBMSourceSendExInfo.getHfSequenceNumber32(), com.latencybusters.lbm.LBMSourceSendExInfo.getHfSequenceNumber64(), com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_HF_32, and com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_HF_64.
|
inherited |
Set the value of a source-related attribute for this source.
attributeName | Name of the attribute to set |
attributeValue | New attribute value |
com.latencybusters.lbm.LBMException | Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Set the current inflight value for this source.
type | The type of flight size |
cb | LBMSetInflightCallback delegate |
cbObj | Client object passed into callback |
com.latencybusters.lbm.LBMException | if an error occurs while setting the inflight value |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Set the current inflight messages and bytes for this source. Note that increasing one value while decreasing the other is not allowed. If you need to do this, call setInflight twice using 0 as the value for the one you are not changing.
type | The type of flight size |
messages | This reference will be set to the new number of inflight messages |
bytes | This reference will be set to the new number of inflight bytes |
cb | Delegate called when appropriate locking is held to let the application safely set set values |
cbObj | Client object passed into the callback |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Mark a specific sqn as stable, triggering an event if configured to do so, and adjusting the inflight if necessary.
sqn | Sqn of the fragment to mark stable |
com.latencybusters.lbm.LBMException | if an error occurs while marking the fragment stable |
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().
|
inherited |
Deregister the UME Source.
References com.latencybusters.lbm.LBM.errorMessage(), and com.latencybusters.lbm.LBM.errorNumber().