|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.latencybusters.lbm.LBMSourceSendExInfo
public class LBMSourceSendExInfo
LBM Source Send Extended Info class. Holds a user-supplied callback argument
and user-supplied flags to change callback behavior for extended
LBMSource.send(byte[], int, int, LBMSourceSendExInfo)
calls.
LBMSource.send(byte[], int, int, LBMSourceSendExInfo)
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
Constructor Summary | |
---|---|
LBMSourceSendExInfo()
Create an empty LBMSourceSendExInfo object. |
|
LBMSourceSendExInfo(int flags,
java.lang.Object cbArg)
Create an LBMSourceSendExInfo object with flags and callback object set. |
|
LBMSourceSendExInfo(int flags,
java.lang.Object cbArg,
LBMSourceChannelInfo channelInfo)
Create an LBMSourceSendExInfo object with flags and callback object set as well as channel information included. |
|
LBMSourceSendExInfo(int flags,
java.lang.Object cbArg,
LBMSourceChannelInfo channelInfo,
LBMApplicationHeaderChain appHeaderChain)
Create an LBMSourceSendExInfo object with flags and callback object set as well as channel information included. |
|
LBMSourceSendExInfo(int flags,
java.lang.Object cbArg,
LBMSourceChannelInfo channelInfo,
LBMApplicationHeaderChain appHeaderChain,
UMQIndexInfo indexInfo)
Create an LBMSourceSendExInfo object with flags and callback object set as well as channel information included. |
|
LBMSourceSendExInfo(int flags,
java.lang.Object cbArg,
LBMSourceChannelInfo channelInfo,
LBMApplicationHeaderChain appHeaderChain,
UMQIndexInfo indexInfo,
UMQMessageTotalLifetimeInfo lifetimeInfo)
Create an LBMSourceSendExInfo object with flags and callback object set |
Method Summary | |
---|---|
LBMSourceChannelInfo |
channelInfo()
Returns the currently set channel info. |
java.lang.Object |
clientObject()
Returns the client-supplied callback object. |
int |
flags()
Returns currently set flags. |
LBMApplicationHeaderChain |
getApplicationHeaderChain()
Get the LBMApplicationHeaderChain currently attached to this LBMSourceSendExInfo object, if any. |
long |
getHfSequenceNumber()
Get the currently set hot failover sequence number as a long value. |
java.math.BigInteger |
getHfSequenceNumberBigInt()
Get the currently set hot failover sequence number as a BigInteger. |
UMQIndexInfo |
indexInfo()
Returns the currently set index info. |
void |
setApplicationHeaderChain(LBMApplicationHeaderChain appHeaderChain)
Attaches a LBMApplicationHeaderChain object to this LBMSourceSendExInfo object, or removes an existing LBMApplicationHeaderChain object if null is passed. |
void |
setChannelInfo(LBMSourceChannelInfo channelInfo)
Sets channel info to be included with messages. |
void |
setClientObject(java.lang.Object cbArg)
Set the user-supplied callback object. |
void |
setFlags(int flags)
Sets flags that control callback behavior. |
void |
setHfSequenceNumber(long hfsqn)
Set the hot failover sequence number to send. |
void |
setHfSequenceNumberBigInt(java.math.BigInteger hfsqn)
Set the hot failover sequence number to send. |
void |
setIndexInfo(UMQIndexInfo indexInfo)
Sets index info to be included with messages. |
void |
setMessageProperties(LBMMessageProperties properties)
Sets message properties to be included with messages. |
void |
setTotalLifetimeInfo(UMQMessageTotalLifetimeInfo lifetimeInfo)
Sets total lifetime info to be included with messages. |
UMQMessageTotalLifetimeInfo |
totalLifetimeInfo()
Returns the currently set total lifetime info. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LBMSourceSendExInfo()
public LBMSourceSendExInfo(int flags, java.lang.Object cbArg)
flags
- Flags to control callback behavior.cbArg
- User-supplied object passed back with any callbacks.LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
public LBMSourceSendExInfo(int flags, java.lang.Object cbArg, LBMSourceChannelInfo channelInfo)
flags
- Flags to control callback behavior.cbArg
- User-supplied object passed back with any callbacks.channelInfo
- Channel information to be included with messages.LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
,
LBM.SRC_SEND_EX_FLAG_CHANNEL
public LBMSourceSendExInfo(int flags, java.lang.Object cbArg, LBMSourceChannelInfo channelInfo, LBMApplicationHeaderChain appHeaderChain)
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.LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
,
LBM.SRC_SEND_EX_FLAG_CHANNEL
,
LBM.SRC_SEND_EX_FLAG_APPHDR_CHAIN
public LBMSourceSendExInfo(int flags, java.lang.Object cbArg, LBMSourceChannelInfo channelInfo, LBMApplicationHeaderChain appHeaderChain, UMQIndexInfo indexInfo)
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.LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
,
LBM.SRC_SEND_EX_FLAG_CHANNEL
,
LBM.SRC_SEND_EX_FLAG_APPHDR_CHAIN
,
LBM.SRC_SEND_EX_FLAG_UMQ_INDEX
public LBMSourceSendExInfo(int flags, java.lang.Object cbArg, LBMSourceChannelInfo channelInfo, LBMApplicationHeaderChain appHeaderChain, UMQIndexInfo indexInfo, UMQMessageTotalLifetimeInfo lifetimeInfo)
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.LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
,
LBM.SRC_SEND_EX_FLAG_CHANNEL
,
LBM.SRC_SEND_EX_FLAG_APPHDR_CHAIN
,
LBM.SRC_SEND_EX_FLAG_UMQ_INDEX
Method Detail |
---|
public void setClientObject(java.lang.Object cbArg)
cbArg
- User-supplied object passed back with any callbacks.public void setFlags(int flags)
flags
- An integer representing an OR'd value of flags to set.LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
,
LBM.SRC_SEND_EX_FLAG_CHANNEL
,
LBM.SRC_SEND_EX_FLAG_APPHDR_CHAIN
,
LBM.SRC_SEND_EX_FLAG_HF_32
,
LBM.SRC_SEND_EX_FLAG_HF_64
public void setChannelInfo(LBMSourceChannelInfo channelInfo)
channelInfo
- A channel info objectLBMSource#createChannel(int)
public void setIndexInfo(UMQIndexInfo indexInfo)
indexInfo
- An index info objectpublic void setTotalLifetimeInfo(UMQMessageTotalLifetimeInfo lifetimeInfo)
lifetimeInfo
- A total lifetime info objectpublic void setMessageProperties(LBMMessageProperties properties)
properties
- A properties objectpublic int flags()
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO
,
LBM.SRC_SEND_EX_FLAG_SEQUENCE_NUMBER_INFO_FRAGONLY
,
LBM.SRC_SEND_EX_FLAG_CHANNEL
,
LBM.SRC_SEND_EX_FLAG_APPHDR_CHAIN
,
LBM.SRC_SEND_EX_FLAG_PROPERTIES
,
LBM.SRC_SEND_EX_FLAG_HF_32
,
LBM.SRC_SEND_EX_FLAG_HF_64
public LBMApplicationHeaderChain getApplicationHeaderChain()
LBMApplicationHeaderChain
currently attached to this LBMSourceSendExInfo object, if any.
public void setApplicationHeaderChain(LBMApplicationHeaderChain appHeaderChain)
LBMApplicationHeaderChain
object to this LBMSourceSendExInfo object, or removes an existing LBMApplicationHeaderChain object if null is passed.
appHeaderChain
- LBMApplicationHeaderChain to attach, or null to remove an existing LBMApplicationHeaderChain.public java.lang.Object clientObject()
public LBMSourceChannelInfo channelInfo()
public UMQIndexInfo indexInfo()
public UMQMessageTotalLifetimeInfo totalLifetimeInfo()
public void setHfSequenceNumber(long hfsqn)
hfsqn
- Hot failover sequence number to send.LBM.SRC_SEND_EX_FLAG_HF_32
,
LBM.SRC_SEND_EX_FLAG_HF_64
,
setHfSequenceNumberBigInt(BigInteger)
public void setHfSequenceNumberBigInt(java.math.BigInteger hfsqn)
hfsqn
- Hot failover sequence number to sendLBM.SRC_SEND_EX_FLAG_HF_32
,
LBM.SRC_SEND_EX_FLAG_HF_64
,
setHfSequenceNumber(long)
public long getHfSequenceNumber()
getHfSequenceNumberBigInt(BigInteger)
public java.math.BigInteger getHfSequenceNumberBigInt()
#getHfSequenceNumber(long)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |