public interface Context
Modifier and Type | Method and Description |
---|---|
TemplateContainer |
getContainer()
Returns instance of templates container.
|
Template |
getCurrentTemplate()
Returns current template.
|
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 presenceMap)
Sets instance of
PresenceMap . |
void |
setValue(Type type,
ITypeValue value)
Sets value into context.
|
boolean isPresentInStream()
void setPresenceMap(PresenceMap presenceMap)
PresenceMap
.presenceMap
- Instance of PresenceMap
.void setValue(Type type, ITypeValue value)
type
- Type of value.value
- The value.ITypeValue getValue(Type type)
type
- Type of value.TemplateContainer getContainer()
void setContainer(TemplateContainer templateContainer)
templateContainer
- Instance of TemplateContainer
boolean isInitialized(Type type)
type
- Instance of Type
.void restorePresenceMap()
void savePresenceMap()
void setCurrentTemplate(Template template)
template
- Instance of template.Template getCurrentTemplate()
void resetDictionaries()
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.