ConfigurationSupport
public class StatKeyValueCodec
extends com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec
Constructor | Description |
---|---|
StatKeyValueCodec() |
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.
|
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 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 class com.genesyslab.platform.commons.protocol.runtime.codec.TKVCodec
value
- custom type object on connection sidecom.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.