ConfigurationSupport
, com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
public class TKVCodec2
extends com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec
implements com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec, com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
Constructor | Description |
---|---|
TKVCodec2() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
decodeFromConnection(java.lang.Object value,
AttributeDescription attributeDescription) |
Deserializes custom-type object from connection.
|
java.lang.Object |
encodeForConnection(java.lang.Object customTypeObject,
java.lang.String id,
MessageTransport transport,
java.lang.Object transportState) |
Serializes custom-type object to the form, that can be accepted
by connection.
|
java.lang.String |
getLogType() |
Returns type signature for attribute record written to log.
|
appendLogValue, decodeFromXml, encodeToXml, getNS, setMessage, setProtocolData
public java.lang.Object encodeForConnection(java.lang.Object customTypeObject, java.lang.String id, MessageTransport transport, java.lang.Object transportState) throws PlatformException
com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
encodeForConnection
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
encodeForConnection
in class com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec
customTypeObject
- object to serializeid
- attribute idtransport
- message transporttransportState
- state of the transportPlatformException
- if some problems occurredpublic java.lang.Object decodeFromConnection(java.lang.Object value, AttributeDescription attributeDescription) throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
decodeFromConnection
in interface com.genesyslab.platform.commons.protocol.runtime.codec.AttributeTypeCodec
decodeFromConnection
in class com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec
value
- custom type object on connection sidecom.genesyslab.platform.commons.protocol.runtime.codec.CodecException
public java.lang.String getLogType()
com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
LogTypes
class to return standard values.getLogType
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
getLogType
in class com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.