Platform SDK Java 8.5 API Reference

com.genesyslab.platform.routing.protocol.routingserver.runtime
Class OperationContextCodec

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec
      extended by com.genesyslab.platform.routing.protocol.routingserver.runtime.OperationContextCodec
All Implemented Interfaces:
com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

public class OperationContextCodec
extends com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec
implements com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec


Field Summary
protected  com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec tkvCodec
           
 
Constructor Summary
OperationContextCodec()
           
 
Method Summary
 void appendLogValue(java.lang.StringBuffer buf, java.lang.Object customTypeObject, boolean truncate, boolean hide)
           
 java.lang.Object decodeFromConnection(java.lang.Object value, com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
           
 java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement, com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ai)
           
 java.lang.Object encodeForConnection(java.lang.Object customTypeObject, java.lang.String id, MessageTransport transport, java.lang.Object transportState)
           
 void encodeToXml(java.lang.Object customTypeObject, javax.xml.transform.Result attributeElement)
           
 java.lang.String getLogType()
           
 
Methods inherited from class com.genesyslab.platform.commons.protocol.runtime.codec.NoDataCodec
getNS, setMessage, setProtocolData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
getNS, setMessage, setProtocolData
 

Field Detail

tkvCodec

protected com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec tkvCodec
Constructor Detail

OperationContextCodec

public OperationContextCodec()
Method Detail

encodeForConnection

public java.lang.Object encodeForConnection(java.lang.Object customTypeObject,
                                            java.lang.String id,
                                            MessageTransport transport,
                                            java.lang.Object transportState)
                                     throws PlatformException
Specified by:
encodeForConnection in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
PlatformException

decodeFromConnection

public java.lang.Object decodeFromConnection(java.lang.Object value,
                                             com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
                                      throws PlatformException
Specified by:
decodeFromConnection in interface com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
Throws:
PlatformException

encodeToXml

public void encodeToXml(java.lang.Object customTypeObject,
                        javax.xml.transform.Result attributeElement)
                 throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
encodeToXml in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

decodeFromXml

public java.lang.Object decodeFromXml(javax.xml.transform.Source attributeElement,
                                      com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ai)
                               throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
decodeFromXml in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

getLogType

public java.lang.String getLogType()
Specified by:
getLogType in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec

appendLogValue

public void appendLogValue(java.lang.StringBuffer buf,
                           java.lang.Object customTypeObject,
                           boolean truncate,
                           boolean hide)
                    throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
appendLogValue in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.