com.genesyslab.platform.reporting.protocol.runtime
Class StatusCodec
java.lang.Object
com.genesyslab.platform.commons.log.AbstractLogEnabled
com.genesyslab.platform.reporting.protocol.runtime.StatusCodec
- All Implemented Interfaces:
- ILogEnabled, ConfigurationSupport, com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager, com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
public class StatusCodec
- extends AbstractLogEnabled
- implements com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec, com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager, ConfigurationSupport
Method Summary |
void |
appendLogValue(java.lang.StringBuffer buf,
java.lang.Object customTypeObject,
boolean truncate,
boolean hide)
|
void |
configure(ConnectionConfiguration config)
|
java.lang.Object |
decodeFromXml(javax.xml.transform.Source attributeElement,
com.genesyslab.platform.commons.protocol.runtime.AttributeDescription attributeDescription)
|
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)
|
protected java.lang.Object |
fromXml(java.lang.Class cls,
org.w3c.dom.Node elem)
|
protected void |
fromXml(java.lang.Class cls,
java.lang.Object obj,
org.w3c.dom.Node childElem)
|
ConnectionConfiguration |
getConfiguration()
|
java.lang.String |
getLogType()
|
java.lang.String |
getNS()
|
void |
onAttribute(java.lang.String id,
java.lang.Object value)
|
void |
onMessageEnd()
|
void |
onMessageStart(Message message)
|
void |
setMessage(Message message)
|
void |
setProtocolData(java.lang.Object protocolData)
|
protected GEnum |
toGEnum(java.lang.Class cls,
org.w3c.dom.Node elem)
|
protected int |
toInt(org.w3c.dom.Node elem)
|
protected java.lang.String |
toString(org.w3c.dom.Node elem)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusCodec
public StatusCodec()
getConfiguration
public ConnectionConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface ConfigurationSupport
configure
public void configure(ConnectionConfiguration config)
- Specified by:
configure
in interface ConfigurationSupport
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
setProtocolData
public void setProtocolData(java.lang.Object protocolData)
- Specified by:
setProtocolData
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
setMessage
public void setMessage(Message message)
- Specified by:
setMessage
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
getNS
public java.lang.String getNS()
- Specified by:
getNS
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomTypeCodec
onMessageStart
public void onMessageStart(Message message)
- Specified by:
onMessageStart
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager
onAttribute
public void onAttribute(java.lang.String id,
java.lang.Object value)
- Specified by:
onAttribute
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager
onMessageEnd
public void onMessageEnd()
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Specified by:
onMessageEnd
in interface com.genesyslab.platform.commons.protocol.runtime.codec.CustomPackager
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
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 attributeDescription)
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
fromXml
protected java.lang.Object fromXml(java.lang.Class cls,
org.w3c.dom.Node elem)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
fromXml
protected void fromXml(java.lang.Class cls,
java.lang.Object obj,
org.w3c.dom.Node childElem)
throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
- Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
toString
protected java.lang.String toString(org.w3c.dom.Node elem)
toInt
protected int toInt(org.w3c.dom.Node elem)
toGEnum
protected GEnum toGEnum(java.lang.Class cls,
org.w3c.dom.Node elem)
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
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.