public class Context extends Object implements OpenFastContext
Constructor and Description |
---|
Context() |
Context(OpenFastContext context) |
public Context()
public Context(OpenFastContext context)
public int getTemplateId(MessageTemplate template)
getTemplateId
in interface OpenFastContext
public MessageTemplate getTemplate(int templateId)
getTemplate
in interface OpenFastContext
public void registerTemplate(int templateId, MessageTemplate template)
registerTemplate
in interface OpenFastContext
public int getLastTemplateId()
public void setLastTemplateId(int templateId)
public ScalarValue lookup(String dictionary, Group group, QName key)
public void store(String dictionary, Group group, QName key, ScalarValue valueToEncode)
public void reset()
public void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler
in interface OpenFastContext
public void newMessage(MessageTemplate template)
public void setCurrentApplicationType(QName name)
public TemplateRegistry getTemplateRegistry()
getTemplateRegistry
in interface OpenFastContext
public void setTemplateRegistry(TemplateRegistry registry)
setTemplateRegistry
in interface OpenFastContext
public boolean isTraceEnabled()
public void startTrace()
public void setTraceEnabled(boolean enabled)
public void setEncodeTrace(BasicEncodeTrace encodeTrace)
public Trace getEncodeTrace()
public void setDecodeTrace(Trace decodeTrace)
public Trace getDecodeTrace()
public void store(QName key, int index, ScalarValue value)
public FastMessageLogger getLogger()
getLogger
in interface OpenFastContext
public void setLogger(FastMessageLogger logger)
setLogger
in interface OpenFastContext
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.