|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
Class for managers data during process of encode/decode FAST messages.
Method Summary | |
---|---|
TemplateContainer |
getContainer()
Returns instance of templates container. |
Template |
getCurrentTemplate()
Returns current template. |
java.net.URI |
getPathToTemplates()
|
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. |
Method Detail |
---|
java.net.URI getPathToTemplates()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |