UM Java API
6.16.1
|
LBM Source Send Extended Info class. Holds a user-supplied callback argument and user-supplied flags to change callback behavior for extended send calls.
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | ) |
Create an empty LBMSourceSendExInfo object.
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | int | flags, |
Object | cbArg | ||
) |
Create an LBMSourceSendExInfo object with flags and callback object set.
flags | Flags to control callback behavior. |
cbArg | User-supplied object passed back with any callbacks. |
References com.latencybusters.lbm.LBMSourceSendExInfo.flags().
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
LBMSourceChannelInfo | channelInfo | ||
) |
Create an LBMSourceSendExInfo object with flags and callback object set as well as channel information included.
flags | Flags to control callback behavior. |
cbArg | User-supplied object passed back with any callbacks. |
channelInfo | Channel information to be included with messages. |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), and com.latencybusters.lbm.LBMSourceSendExInfo.flags().
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
LBMSourceChannelInfo | channelInfo, | ||
LBMApplicationHeaderChain | appHeaderChain | ||
) |
Create an LBMSourceSendExInfo object with flags and callback object set as well as channel information included.
flags | Flags to control callback behavior. |
cbArg | User-supplied object passed back with any callbacks. |
channelInfo | Channel information to be included with messages. |
appHeaderChain | Application header chain to be sent with messages. |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), and com.latencybusters.lbm.LBMSourceSendExInfo.flags().
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
LBMSourceChannelInfo | channelInfo, | ||
LBMApplicationHeaderChain | appHeaderChain, | ||
UMQIndexInfo | indexInfo | ||
) |
Create an LBMSourceSendExInfo object with flags and callback object set as well as channel information included.
flags | Flags to control callback behavior. |
cbArg | User-supplied object passed back with any callbacks. |
channelInfo | Channel information to be included with messages. |
appHeaderChain | Application header chain to be sent with messages. |
indexInfo | UMQ index info to send with messages. |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), com.latencybusters.lbm.LBMSourceSendExInfo.flags(), and com.latencybusters.lbm.LBMSourceSendExInfo.indexInfo().
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
LBMSourceChannelInfo | channelInfo, | ||
LBMApplicationHeaderChain | appHeaderChain, | ||
UMQIndexInfo | indexInfo, | ||
UMQMessageTotalLifetimeInfo | lifetimeInfo | ||
) |
Create an LBMSourceSendExInfo object with flags and callback object set
flags | Flags to control callback behavior. |
cbArg | User-supplied object passed back with any callbacks. |
channelInfo | Channel information to be included with messages. |
appHeaderChain | Application header chain to be sent with messages. |
indexInfo | UMQ index info to send with messages. |
lifetimeInfo | UMQ total lifetime info to send with messages. |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), com.latencybusters.lbm.LBMSourceSendExInfo.flags(), and com.latencybusters.lbm.LBMSourceSendExInfo.indexInfo().
com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
LBMSourceChannelInfo | channelInfo, | ||
LBMApplicationHeaderChain | appHeaderChain, | ||
UMQIndexInfo | indexInfo, | ||
UMQMessageTotalLifetimeInfo | lifetimeInfo, | ||
LBMMessageProperties | properties | ||
) |
Create an LBMSourceSendExInfo object with flags and callback object set
flags | Flags to control callback behavior. |
cbArg | User-supplied object passed back with any callbacks. |
channelInfo | Channel information to be included with messages. |
appHeaderChain | Application header chain to be sent with messages. |
indexInfo | UMQ index info to send with messages. |
lifetimeInfo | UMQ total lifetime info to send with messages. |
properties | LBMMessageProperties to be sent with messages. |
References com.latencybusters.lbm.LBMSourceSendExInfo.flags(), com.latencybusters.lbm.LBMSourceSendExInfo.setApplicationHeaderChain(), com.latencybusters.lbm.LBMSourceSendExInfo.setChannelInfo(), com.latencybusters.lbm.LBMSourceSendExInfo.setIndexInfo(), com.latencybusters.lbm.LBMSourceSendExInfo.setMessageProperties(), and com.latencybusters.lbm.LBMSourceSendExInfo.setTotalLifetimeInfo().
LBMSourceChannelInfo com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo | ( | ) |
Returns the currently set channel info.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo(), and com.latencybusters.lbm.LBMSourceSendExInfo.setChannelInfo().
Object com.latencybusters.lbm.LBMSourceSendExInfo.clientObject | ( | ) |
Returns the client-supplied callback object.
int com.latencybusters.lbm.LBMSourceSendExInfo.flags | ( | ) |
Returns currently set flags.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo(), and com.latencybusters.lbm.LBMSourceSendExInfo.setFlags().
LBMApplicationHeaderChain com.latencybusters.lbm.LBMSourceSendExInfo.getApplicationHeaderChain | ( | ) |
Get the LBMApplicationHeaderChain currently attached to this LBMSourceSendExInfo object, if any.
long com.latencybusters.lbm.LBMSourceSendExInfo.getHfSequenceNumber | ( | ) |
Get the currently set hot failover sequence number as a long value.
BigInteger com.latencybusters.lbm.LBMSourceSendExInfo.getHfSequenceNumberBigInt | ( | ) |
Get the currently set hot failover sequence number as a BigInteger. This is provided as a convenience method to ensure 64 bit numbers are returned as unsigned values.
References com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_PROPERTIES.
UMQIndexInfo com.latencybusters.lbm.LBMSourceSendExInfo.indexInfo | ( | ) |
Returns the currently set index info.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo(), and com.latencybusters.lbm.LBMSourceSendExInfo.setIndexInfo().
LBMMessageProperties com.latencybusters.lbm.LBMSourceSendExInfo.properties | ( | ) |
Gets the current message properties to be included with messages. Returns null if no message properties are set.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.setMessageProperties().
void com.latencybusters.lbm.LBMSourceSendExInfo.setApplicationHeaderChain | ( | LBMApplicationHeaderChain | appHeaderChain | ) |
Attaches a LBMApplicationHeaderChain object to this LBMSourceSendExInfo object, or removes an existing LBMApplicationHeaderChain object if null is passed. Also sets or clears the LBM::SRC_SEND_EX_FLAG_APPHDR_CHAIN from the flags field as appropriate.
appHeaderChain | LBMApplicationHeaderChain to attach, or null to remove an existing LBMApplicationHeaderChain. |
References com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_APPHDR_CHAIN.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo().
void com.latencybusters.lbm.LBMSourceSendExInfo.setChannelInfo | ( | LBMSourceChannelInfo | channelInfo | ) |
Sets channel info to be included with messages. Removes channel info from this object if null is passed. Also sets or clears the LBM::SRC_SEND_EX_FLAG_CHANNEL from the flags field as appropriate.
channelInfo | A channel info object |
References com.latencybusters.lbm.LBMSourceSendExInfo.channelInfo(), and com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_CHANNEL.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo().
void com.latencybusters.lbm.LBMSourceSendExInfo.setClientObject | ( | Object | cbArg | ) |
Set the user-supplied callback object.
cbArg | User-supplied object passed back with any callbacks. |
void com.latencybusters.lbm.LBMSourceSendExInfo.setFlags | ( | int | flags | ) |
Sets flags that control callback behavior.
flags | An integer representing an OR'd value of flags to set. |
References com.latencybusters.lbm.LBMSourceSendExInfo.flags().
void com.latencybusters.lbm.LBMSourceSendExInfo.setHfSequenceNumber | ( | long | hfsqn | ) |
Set the hot failover sequence number to send. Though java does not support unsigned integers, UMS hot failover values are considered unsigned. This method is used to set either the 32 or 64 bit sequence number to send. The ExInfo flags determine which bit value will be used, and must be set accordingly.
hfsqn | Hot failover sequence number to send. |
void com.latencybusters.lbm.LBMSourceSendExInfo.setHfSequenceNumberBigInt | ( | BigInteger | hfsqn | ) |
Set the hot failover sequence number to send. This method is provided for convenience when using 64 bit numbers. UMS will only use 64 bits of the BigInteger and is stored internally as a long.
hfsqn | Hot failover sequence number to send |
void com.latencybusters.lbm.LBMSourceSendExInfo.setIndexInfo | ( | UMQIndexInfo | indexInfo | ) |
Sets index info to be included with messages. Removes index info from this object if null is passed. Also sets or clears the LBM::SRC_SEND_EX_FLAG_UMQ_INDEX from the flags field as appropriate.
indexInfo | An index info object |
References com.latencybusters.lbm.LBMSourceSendExInfo.indexInfo(), and com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_UMQ_INDEX.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo().
void com.latencybusters.lbm.LBMSourceSendExInfo.setMessageProperties | ( | LBMMessageProperties | properties | ) |
Sets message properties to be included with messages. Removes message properties from this object if null is passed. Also sets or clears the LBM::SRC_SEND_EX_FLAG_PROPERTIES from the flags field as appropriate.
properties | A properties object |
References com.latencybusters.lbm.LBMSourceSendExInfo.properties(), and com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_PROPERTIES.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo().
void com.latencybusters.lbm.LBMSourceSendExInfo.setTotalLifetimeInfo | ( | UMQMessageTotalLifetimeInfo | lifetimeInfo | ) |
Sets total lifetime info to be included with messages. Removes total lifetime info from this object if null is passed. Also sets or clears the LBM::SRC_SEND_EX_FLAG_UMQ_TOTAL_LIFETIME from the flags field as appropriate.
lifetimeInfo | A total lifetime info object |
References com.latencybusters.lbm.LBM.SRC_SEND_EX_FLAG_UMQ_TOTAL_LIFETIME.
Referenced by com.latencybusters.lbm.LBMSourceSendExInfo.LBMSourceSendExInfo().
UMQMessageTotalLifetimeInfo com.latencybusters.lbm.LBMSourceSendExInfo.totalLifetimeInfo | ( | ) |
Returns the currently set total lifetime info.