|
PDMFieldType | getType () |
|
String | getStrName () |
|
int | getIntName () |
|
|
| PDMFieldInfo (int id, String name, PDMFieldType type, boolean required) |
|
| PDMFieldInfo (int id, int name, PDMFieldType type, boolean required) |
|
| PDMFieldInfo (int id, String name, PDMFieldType type, int fixedStrLen, boolean required) |
|
| PDMFieldInfo (int id, int name, PDMFieldType type, int fixedStrLen, boolean required) |
|
| PDMFieldInfo (int id, String strName, int intName, PDMFieldType type, int fixedStrLen, boolean required, int numElements) |
|
int | getId () |
|
boolean | isRequired () |
|
boolean | isFixed () |
|
int | getLen () |
|
int | getFixedStrLen () |
|
int | getNumElements () |
|
boolean | isArray () |
|
byte[] | toBytes (PDMSerializer ser) |
|
int | toBytes (PDMSerializer ser, byte[] ba, int pos) |
|
int | parse (PDMDeserializer deser, byte[] ba) |
|
int | parse (PDMDeserializer deser, byte[] ba, int pos) |
|
|
static final int | INT_NAME_KNOWN_LEN = 28 |
|
A handle to field information returned from a PDMDefinition that is used when adding a field value to a PDMMessage.
- Author
- jfugitt
com.latencybusters.pdm.PDMFieldInfo.PDMFieldInfo |
( |
int |
id, |
|
|
String |
name, |
|
|
PDMFieldType |
type, |
|
|
boolean |
required |
|
) |
| |
|
protected |
Constructor used for single value fields with string names (except for fixed length strings)
- Parameters
-
id | the internal id |
name | the string name |
type | the type |
required | whether or not the field is required |
com.latencybusters.pdm.PDMFieldInfo.PDMFieldInfo |
( |
int |
id, |
|
|
int |
name, |
|
|
PDMFieldType |
type, |
|
|
boolean |
required |
|
) |
| |
|
protected |
Constructor used for single value fields with int names (except for fixed length strings)
- Parameters
-
id | the internal id |
name | the int name |
type | the type |
required | whether or not the field is required |
com.latencybusters.pdm.PDMFieldInfo.PDMFieldInfo |
( |
int |
id, |
|
|
String |
name, |
|
|
PDMFieldType |
type, |
|
|
int |
fixedStrLen, |
|
|
boolean |
required |
|
) |
| |
|
protected |
Constructor used for single value fixed-length string fields with String names
- Parameters
-
id | the internal id |
name | the string name |
type | the type |
fixedStrLen | the fixed string length for this field |
required | whether or not the field is required |
com.latencybusters.pdm.PDMFieldInfo.PDMFieldInfo |
( |
int |
id, |
|
|
int |
name, |
|
|
PDMFieldType |
type, |
|
|
int |
fixedStrLen, |
|
|
boolean |
required |
|
) |
| |
|
protected |
Constructor used for single value fixed-length string fields with int names
- Parameters
-
id | the internal id |
name | the int name |
type | the type |
fixedStrLen | the fixed string length for this field |
required | whether or not the field is required |
com.latencybusters.pdm.PDMFieldInfo.PDMFieldInfo |
( |
int |
id, |
|
|
String |
strName, |
|
|
int |
intName, |
|
|
PDMFieldType |
type, |
|
|
int |
fixedStrLen, |
|
|
boolean |
required, |
|
|
int |
numElements |
|
) |
| |
|
protected |
General constructor used for any single value or array field of fixed length or variable length with string or int names
- Parameters
-
id | the internal id of the field info |
strName | the string name |
intName | the int name |
type | the type |
fixedStrLen | the fixed string length for this field |
required | whether or not the field is required |
numElements | the number of array elements for fixed-size arrays or 0 |
int com.latencybusters.pdm.PDMFieldInfo.parse |
( |
PDMDeserializer |
deser, |
|
|
byte[] |
ba |
|
) |
| |
|
protected |
int com.latencybusters.pdm.PDMFieldInfo.parse |
( |
PDMDeserializer |
deser, |
|
|
byte[] |
ba, |
|
|
int |
pos |
|
) |
| |
|
protected |
byte [] com.latencybusters.pdm.PDMFieldInfo.toBytes |
( |
PDMSerializer |
ser | ) |
|
|
protected |
int com.latencybusters.pdm.PDMFieldInfo.toBytes |
( |
PDMSerializer |
ser, |
|
|
byte[] |
ba, |
|
|
int |
pos |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: