UM .NET API  6.16.1
com.latencybusters.lbm.UMQIndexInfo Class Reference

UMQIndexInfo class. More...

Public Member Functions

 UMQIndexInfo (byte[] index, int length)
 Creates a UMQIndexInfo object using specified (arbitrary, user-specified) data. More...
 
 UMQIndexInfo (UInt64 index)
 Creates a numeric UMQIndexInfo object using the specified 64-bit unsigned index number. More...
 
 UMQIndexInfo ()
 Default constructor.
 
int flags ()
 Returns flags for this UMQIndexInfo object. More...
 
byte[] index ()
 Returns data index for this UMQIndexInfo object. Throws an LBMEInvalException if the UMQIndexInfo object is numeric. More...
 
UInt64 numericIndex ()
 Returns 64-bit unsigned numeric index for this UMQIndexInfo object. Throws an LBMEInvalException if the index is not numeric. More...
 
int indexLength ()
 Returns length of non-numeric index. Throws an LBMEInvalException if index is numeric. More...
 
void setIndex (byte[] index, int length)
 Sets data index to specified data. Index length must be greater than 0 and less than or equal to LBM.UMQ_MAX_INDEX_LEN. More...
 
void setNumericIndex (UInt64 index)
 Sets index to specified numeric index. More...
 

Detailed Description

UMQIndexInfo class.

Constructor & Destructor Documentation

com.latencybusters.lbm.UMQIndexInfo.UMQIndexInfo ( byte[]  index,
int  length 
)

Creates a UMQIndexInfo object using specified (arbitrary, user-specified) data.

Parameters
indexIndex data.
lengthLength of index data (must be greater than 0 and less than or equal to LBM.UMQ_MAX_INDEX_LEN)
com.latencybusters.lbm.UMQIndexInfo.UMQIndexInfo ( UInt64  index)

Creates a numeric UMQIndexInfo object using the specified 64-bit unsigned index number.

Parameters
indexNumeric index.

Member Function Documentation

byte [] com.latencybusters.lbm.UMQIndexInfo.index ( )
int com.latencybusters.lbm.UMQIndexInfo.indexLength ( )
UInt64 com.latencybusters.lbm.UMQIndexInfo.numericIndex ( )
void com.latencybusters.lbm.UMQIndexInfo.setIndex ( byte[]  index,
int  length 
)

Sets data index to specified data. Index length must be greater than 0 and less than or equal to LBM.UMQ_MAX_INDEX_LEN.

Parameters
indexIndex data.
lengthLength of index data.

References com.latencybusters.lbm.LBM.UMQ_INDEX_FLAG_NUMERIC, and com.latencybusters.lbm.LBM.UMQ_MAX_INDEX_LEN.

void com.latencybusters.lbm.UMQIndexInfo.setNumericIndex ( UInt64  index)

Sets index to specified numeric index.

Parameters
indexNumeric index (unsigned 64-bit integer)

References com.latencybusters.lbm.LBM.UMQ_INDEX_FLAG_NUMERIC.


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