| Constructor and Description |
|---|
PacketContext() |
| Modifier and Type | Method and Description |
|---|---|
TemplateContainer |
getContainer()
Returns instance of templates container.
|
Template |
getCurrentTemplate()
Returns current template.
|
PresenceMap |
getPresenceMap()
Gets presence map.
|
ITypeValue |
getValue(Type type)
Returns value from context by type.
|
boolean |
isInitialized(Type type)
Checks if initialized context dictionary for input type.
|
boolean |
isPresentInStream()
Checks if present current value in stream of FAST message.
|
void |
resetDictionaries()
Resets the context's dictionaries.
|
void |
restorePresenceMap()
Restores presence map.
|
void |
savePresenceMap()
Saves presence map.
|
void |
setContainer(TemplateContainer templateContainer)
Sets instance of templates container.
|
void |
setCurrentTemplate(Template template)
Sets input template to current.
|
void |
setPresenceMap(PresenceMap genericPresenceMap)
Sets instance of
PresenceMap. |
void |
setValue(Type type,
ITypeValue value)
Sets value into context.
|
public void setPresenceMap(PresenceMap genericPresenceMap)
ContextPresenceMap.setPresenceMap in interface ContextgenericPresenceMap - Instance of PresenceMap.Context.savePresenceMap()public void savePresenceMap()
ContextsavePresenceMap in interface ContextContext.savePresenceMap()public void setCurrentTemplate(Template template)
ContextsetCurrentTemplate in interface Contexttemplate - Instance of template.Context.setCurrentTemplate(com.epam.fast.full.template.types.Template)public Template getCurrentTemplate()
ContextgetCurrentTemplate in interface ContextContext.getCurrentTemplate()public void resetDictionaries()
ContextresetDictionaries in interface ContextContext.resetDictionaries()public void setValue(Type type, ITypeValue value)
ContextsetValue in interface Contexttype - Type of value.value - The value.Context.setValue(Type, ITypeValue)public ITypeValue getValue(Type type)
ContextgetValue in interface Contexttype - Type of value.Context.getValue(Type)public TemplateContainer getContainer()
ContextgetContainer in interface ContextContext.getContainer()public void setContainer(TemplateContainer templateContainer)
ContextsetContainer in interface ContexttemplateContainer - Instance of TemplateContainerContext.setContainer(com.epam.fast.full.template.TemplateContainer)public boolean isInitialized(Type type)
ContextisInitialized in interface Contexttype - Instance of Type.Context.isInitialized(com.epam.fast.full.template.types.Type)public boolean isPresentInStream()
ContextisPresentInStream in interface ContextContext.isPresentInStream()public void restorePresenceMap()
ContextrestorePresenceMap in interface ContextContext.restorePresenceMap()public PresenceMap getPresenceMap()
Copyright © 2000–2025 EPAM Systems. All rights reserved.