UM Java API  6.16.1
com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute Class Reference
Inheritance diagram for com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute:
com.latencybusters.lbm.sdm.LBMSDM

Public Member Functions

 LBMSDMFieldsAttribute ()
 
void set_field_prealloc (int num_fields)
 
int get_field_prealloc ()
 
LBMSDMFieldsAttribute clone () throws CloneNotSupportedException
 
void enable_name_tree ()
 
void disable_name_tree ()
 
boolean name_tree_enabled ()
 
void set_debug_level (int level)
 
void log (String s)
 

Static Public Attributes

static final int DEBUG_BASIC = 1
 
static final int DEBUG_VERBOSE_PARSING = 2
 

Protected Attributes

int debug_level = 0
 

Detailed Description

LBMSDMFieldsAttribute define the attributes used by LBMSDMFields. Currently the only option is to set the number of preallocated fields on a field set (message). In the future, other options will be added.

Constructor & Destructor Documentation

com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.LBMSDMFieldsAttribute ( )

Constructor for a field set attribute.

Member Function Documentation

LBMSDMFieldsAttribute com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.clone ( ) throws CloneNotSupportedException
void com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.disable_name_tree ( )

Enable field name validation This also controls name validation when adding fields etc. When validation is on, duplicate field names are detected. The C API also implements a name tree for optimized searches by name, but this is reserved for future development in Java and .NET.

void com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.enable_name_tree ( )

Enable field name validation This also controls name validation when adding fields etc. When validation is on, duplicate field names are detected. The C API also implements a name tree for optimized searches by name, but this is reserved for future development in Java and .NET.

int com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.get_field_prealloc ( )

Get the number of preallocated fields

Returns
The number of fields to preallocate
boolean com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.name_tree_enabled ( )

Find out if field name validation is enabled.

Returns
true if enabled
void com.latencybusters.lbm.sdm.LBMSDM.set_debug_level ( int  level)
inherited

Set the debug level for processing this SDM message. Currently all debugs go to standard out.

void com.latencybusters.lbm.sdm.LBMSDMFieldsAttribute.set_field_prealloc ( int  num_fields)

Set the number of preallocated fields

Parameters
num_fieldsThe number of fields to preallocate

Member Data Documentation

final int com.latencybusters.lbm.sdm.LBMSDM.DEBUG_BASIC = 1
staticinherited

Debug flag for basic debug output

int com.latencybusters.lbm.sdm.LBMSDM.debug_level = 0
protectedinherited
final int com.latencybusters.lbm.sdm.LBMSDM.DEBUG_VERBOSE_PARSING = 2
staticinherited

Debug flag for verbose message parsing output


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