UM Java API
6.16.1
|
Public Member Functions | |
LBMSSourceSendExInfo () | |
LBMSSourceSendExInfo (int flags, Object cbArg) | |
LBMSSourceSendExInfo (int flags, Object cbArg, long channel) | |
LBMSSourceSendExInfo (int flags, Object cbArg, int mprop_int_cnt, String[] mprop_int_keys, long[] mprop_int_vals) | |
LBMSSourceSendExInfo (int flags, Object cbArg, long channel, int mprop_int_cnt, String[] mprop_int_keys, long[] mprop_int_vals) | |
void | setClientObject (Object cbArg) |
void | setFlags (int flags) |
void | setChannel (long channel) |
void | setMessageProperties (int mprop_int_cnt, String[] mprop_int_keys, long[] mprop_int_vals) |
void | setUserSuppliedBuffer (ByteBuffer userBuffer) throws LBMEInvalException |
int | flags () |
Object | clientObject () |
long | getChannel () |
int | getMessagePropertyCnt () |
String | getMessagePropertyKey (int index) throws LBMEInvalException |
long | getMessagePropertyValue (int index) throws LBMEInvalException |
ByteBuffer | getUserSuppliedBuffer () |
LBM Smart Source Send Extended Info class. Holds a user-supplied callback argument and user-supplied flags to change callback behavior for extended LBMSSource#send(ByteBuffer, int, int, LBMSSourceSendExInfo) calls.
com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo | ( | ) |
Create an empty LBMSSourceSendExInfo object.
com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo | ( | int | flags, |
Object | cbArg | ||
) |
Create an LBMSSourceSendExInfo object with flags and callback object set.
flags | Flags to control callback behavior. |
cbArg | User-supplied client data pointer passed back with any callback. |
References com.latencybusters.lbm.LBMSSourceSendExInfo.flags().
com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
long | channel | ||
) |
Create an LBMSSourceSendExInfo object with flags, callback object and channel set
flags | Flags that indicate which settings are active as defined by "LBM_SSRC_SEND_EX_*". |
cbArg | User-supplied client data pointer passed back with any callback. |
channel | Spectrum channel number. |
References com.latencybusters.lbm.LBMSSourceSendExInfo.flags().
com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
int | mprop_int_cnt, | ||
String[] | mprop_int_keys, | ||
long[] | mprop_int_vals | ||
) |
Create an LBMSSourceSendExInfo object with flags, callback object and message properties set
flags | Flags that indicate which settings are active as defined by "LBM_SSRC_SEND_EX_*". |
cbArg | User-supplied client data pointer passed back with any callback. |
mprop_int_cnt | Message property count. |
mprop_int_keys | A list of message property key strings. |
mprop_int_vals | A list of message property unsigned 32-bit integers. |
References com.latencybusters.lbm.LBMSSourceSendExInfo.flags().
com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo | ( | int | flags, |
Object | cbArg, | ||
long | channel, | ||
int | mprop_int_cnt, | ||
String[] | mprop_int_keys, | ||
long[] | mprop_int_vals | ||
) |
Create an LBMSSourceSendExInfo object with flags, callback object, channel and message properties set
flags | Flags that indicate which settings are active as defined by "LBM_SSRC_SEND_EX_*". |
cbArg | User-supplied client data pointer passed back with any callback. |
channel | Spectrum channel number. |
mprop_int_cnt | Message property count. |
mprop_int_keys | A list of message property key strings. |
mprop_int_vals | A list of message property unsigned 32-bit integers. |
References com.latencybusters.lbm.LBMSSourceSendExInfo.setChannel(), com.latencybusters.lbm.LBMSSourceSendExInfo.setClientObject(), com.latencybusters.lbm.LBMSSourceSendExInfo.setFlags(), and com.latencybusters.lbm.LBMSSourceSendExInfo.setMessageProperties().
Object com.latencybusters.lbm.LBMSSourceSendExInfo.clientObject | ( | ) |
Returns the client-supplied callback object.
int com.latencybusters.lbm.LBMSSourceSendExInfo.flags | ( | ) |
Returns currently set flags.
Referenced by com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo(), and com.latencybusters.lbm.LBMSSourceSendExInfo.setFlags().
long com.latencybusters.lbm.LBMSSourceSendExInfo.getChannel | ( | ) |
Returns the currently set channel.
int com.latencybusters.lbm.LBMSSourceSendExInfo.getMessagePropertyCnt | ( | ) |
Returns the number of message properties to be included with messages.
String com.latencybusters.lbm.LBMSSourceSendExInfo.getMessagePropertyKey | ( | int | index | ) | throws LBMEInvalException |
Returns the message property key at the specified index to be included with messages.
long com.latencybusters.lbm.LBMSSourceSendExInfo.getMessagePropertyValue | ( | int | index | ) | throws LBMEInvalException |
Returns the message property value at the specified index to be included with messages.
ByteBuffer com.latencybusters.lbm.LBMSSourceSendExInfo.getUserSuppliedBuffer | ( | ) |
Returns the value of a previously supplied user buffer which will be used as a message buffer.
void com.latencybusters.lbm.LBMSSourceSendExInfo.setChannel | ( | long | channel | ) |
Sets spectrum channel to be included with messages and sets the LBM.SSRC_SEND_EX_FLAG_CHANNEL flag.
channel | Spectrum channel number. |
References com.latencybusters.lbm.LBM.SSRC_SEND_EX_FLAG_CHANNEL.
Referenced by com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo().
void com.latencybusters.lbm.LBMSSourceSendExInfo.setClientObject | ( | Object | cbArg | ) |
Set the user-supplied callback object.
cbArg | User-supplied client data pointer passed back with any callback. |
Referenced by com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo().
void com.latencybusters.lbm.LBMSSourceSendExInfo.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.LBMSSourceSendExInfo.flags().
Referenced by com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo().
void com.latencybusters.lbm.LBMSSourceSendExInfo.setMessageProperties | ( | int | mprop_int_cnt, |
String[] | mprop_int_keys, | ||
long[] | mprop_int_vals | ||
) |
Sets message properties to be included with messages and sets the LBM.SSRC_SEND_EX_FLAG_PROPERTIES flag.
mprop_int_cnt | Message property count. |
mprop_int_keys | A list of message property key strings. |
mprop_int_vals | A list of message property unsigned 32-bit integers. |
References com.latencybusters.lbm.LBM.SSRC_SEND_EX_FLAG_PROPERTIES.
Referenced by com.latencybusters.lbm.LBMSSourceSendExInfo.LBMSSourceSendExInfo().
void com.latencybusters.lbm.LBMSSourceSendExInfo.setUserSuppliedBuffer | ( | ByteBuffer | userBuffer | ) | throws LBMEInvalException |
Sets the value of a supplied user buffer which will be used as a message buffer.
userBuffer | The direct ByteBuffer object. Use null to unset this option |
References com.latencybusters.lbm.LBM.SSRC_SEND_EX_FLAG_USER_SUPPLIED_BUFFER.