public class Dictionary extends Object
Modifier and Type | Method and Description |
---|---|
Dictionary |
add(Integer tag,
FieldDetails fieldDetails)
Adds field details.
|
Dictionary |
add(ValuePtr msgType,
MessageDefinition msgDef)
Adds FIX message low-level definition.
|
boolean |
contains(int tag)
Returns whether corresponding field details contains.
|
boolean |
contains(ValuePtr msgType)
Returns whether corresponding message definition contains.
|
MessageDefinition |
get(ValuePtr msgType)
Returns message definition corresponding to message type.
|
static int |
getDataTagByLengthTag(int lengthTag)
Returns data field tag by data length field tag.
|
FieldDetails |
getFieldDetails(int tag)
Returns field details (type and valid values) corresponding to specified tag.
|
Map<ValuePtr,MessageDefinition> |
getMessageDefinitions()
Returns message type to message definition map.
|
ContainerDefinition |
getSkeleton()
Returns skeleton(basic) message definition.
|
Version |
getVersion()
Returns FIX version.
|
Dictionary |
init()
Initializes internal state of the all containing message definition objects.
|
static boolean |
isSessionLevel(ValuePtr msgType)
Returns whether specified message type is Session level.
|
Dictionary |
leaveOnlySessionLevelMessages()
Removes all message definitions but session levels.
|
public Map<ValuePtr,MessageDefinition> getMessageDefinitions()
public Version getVersion()
public Dictionary add(ValuePtr msgType, MessageDefinition msgDef)
msgType
- message typemsgDef
- message definitionpublic Dictionary add(Integer tag, FieldDetails fieldDetails)
tag
- field's tag numberfieldDetails
- field detailspublic boolean contains(ValuePtr msgType)
msgType
- message typepublic MessageDefinition get(ValuePtr msgType)
msgType
- message typeRuntimeException
- if corresponding message definition does not existspublic ContainerDefinition getSkeleton()
public boolean contains(int tag)
tag
- field tagpublic FieldDetails getFieldDetails(int tag)
tag
- field tagRuntimeException
- if corresponding field details does not existspublic Dictionary leaveOnlySessionLevelMessages()
public static boolean isSessionLevel(ValuePtr msgType)
msgType
- message typepublic static int getDataTagByLengthTag(int lengthTag)
lengthTag
- data length field tagpublic Dictionary init()
Copyright © 2005–2024 Onix Solutions. All rights reserved.