|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fudgemsg.FudgeFieldType<IndicatorType>
org.fudgemsg.types.IndicatorFieldType
public class IndicatorFieldType
The type handler for the singleton IndicatorType
value.
Field Summary | |
---|---|
static IndicatorFieldType |
INSTANCE
Standard Fudge field type: zero length indicator. |
Method Summary | |
---|---|
IndicatorType |
readValue(DataInput input,
int dataSize)
Reads a value of this type to the output. |
void |
writeValue(DataOutput output,
IndicatorType value)
Writes a value of this type to the output. |
Methods inherited from class org.fudgemsg.FudgeFieldType |
---|
equals, getFixedSize, getJavaType, getTypeId, getVariableSize, hashCode, isVariableSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IndicatorFieldType INSTANCE
FudgeTypeDictionary.INDICATOR_TYPE_ID
.
Method Detail |
---|
public IndicatorType readValue(DataInput input, int dataSize)
This is intended for use by variable width types and must read the given value. The implementation must read exactly the number of bytes passed into the method.
readValue
in class FudgeFieldType<IndicatorType>
input
- the input source to read the value from, not nulldataSize
- the number of bytes of data to read
public void writeValue(DataOutput output, IndicatorType value)
This is intended for use by variable width types and must write the given value.
The implementation must write exactly the number of bytes returned by the
size calculation
.
writeValue
in class FudgeFieldType<IndicatorType>
output
- the output target to write the value to, not nullvalue
- the value to write
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |