EndpointSupport
, ProtocolDescriptionSupport
, Referenceable
, DataSupport
, com.genesyslab.platform.commons.protocol.runtime.UpdatableProtocolId
, RequestorInfoSupport
, EspEmailMessage
EventCreateWebEmailIn
, EventError
, RequestCreateWebEmailIn
public abstract class AbstractMessage extends Message implements ProtocolDescriptionSupport, com.genesyslab.platform.commons.protocol.runtime.UpdatableProtocolId, Referenceable, DataSupport, EndpointSupport, EspEmailMessage, RequestorInfoSupport
Modifier and Type | Field | Description |
---|---|---|
protected int |
protId |
|
protected static java.lang.String |
REF_ID_KEY |
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractMessage(int id,
java.lang.String name,
ProtocolDescription description) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Map |
attributes() |
|
boolean |
equals(java.lang.Object obj) |
|
java.util.Map |
getCompounds() |
|
java.util.List |
getCustomPackagers() |
|
Endpoint |
getEndpoint() |
Indicates server URI from which current message has been received.
|
java.lang.String |
getEnumDescription(java.lang.Class enumType,
int val) |
|
CodecLazyParser |
getLazyParser() |
|
java.lang.Object |
getMessageAttribute(java.lang.String index) |
Returns message attribute as object by specified index.
|
int |
getProtocolId() |
Returns hash code of protocol object which handled the message.
|
java.lang.Integer |
getReferenceId() |
|
RequestorInfo |
getRequestorInfo() |
Returns requestor information
|
int |
hashCode() |
|
java.lang.Object |
retreiveReference() |
|
void |
setEndpoint(Endpoint endpoint) |
|
void |
setProtocolId(int prot_id) |
|
void |
setReferenceId(java.lang.Integer value) |
|
void |
setRequestorInfo(RequestorInfo requestorInfo) |
Sets requestor information
|
java.lang.String |
toString() |
|
java.lang.String |
toString(boolean hide,
boolean truncate) |
|
protected java.lang.String |
toString(int indent,
boolean hide,
boolean truncate) |
|
void |
updateReference(java.lang.Object reference) |
createClone, getMetaData
cloneMessage, getProtocolDescription, messageId, messageName, setProtocolDescription
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProtocolDescription
protected int protId
protected static final java.lang.String REF_ID_KEY
protected AbstractMessage(int id, java.lang.String name, ProtocolDescription description)
public java.lang.String toString()
toString
in class DataObject
public java.lang.String toString(boolean hide, boolean truncate)
toString
in class DataObject
protected java.lang.String toString(int indent, boolean hide, boolean truncate)
public void setEndpoint(Endpoint endpoint)
setEndpoint
in interface EndpointSupport
public Endpoint getEndpoint()
Message
getEndpoint
in interface EndpointSupport
getEndpoint
in class Message
public int getProtocolId()
Message
getProtocolId
in class Message
public void setProtocolId(int prot_id)
setProtocolId
in interface com.genesyslab.platform.commons.protocol.runtime.UpdatableProtocolId
public java.util.Map attributes()
attributes
in interface DataSupport
public java.lang.Object retreiveReference()
retreiveReference
in interface Referenceable
public void updateReference(java.lang.Object reference)
updateReference
in interface Referenceable
public java.lang.Integer getReferenceId()
public void setReferenceId(java.lang.Integer value)
public RequestorInfo getRequestorInfo()
getRequestorInfo
in interface RequestorInfoSupport
public void setRequestorInfo(RequestorInfo requestorInfo)
setRequestorInfo
in interface RequestorInfoSupport
requestorInfo
- new value of the propertypublic CodecLazyParser getLazyParser()
getLazyParser
in interface DataSupport
public java.lang.Object getMessageAttribute(java.lang.String index)
Message
getMessageAttribute
in class Message
index
- index of attributepublic java.util.Map getCompounds()
getCompounds
in interface DataSupport
public java.util.List getCustomPackagers()
getCustomPackagers
in interface DataSupport
public java.lang.String getEnumDescription(java.lang.Class enumType, int val)
public int hashCode()
hashCode
in class DataObject
public boolean equals(java.lang.Object obj)
equals
in class DataObject
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.