ProtocolDescriptionSupport
@Generated(value="com.genesyslab.platform.commons.protocol.generator.Generator", date="2021-06-14T15:46:16.481-07:00") public abstract class EventError extends Message
EventError
class encodes and decodes a packet
containing a callback error.Modifier and Type | Method | Description |
---|---|---|
static EventError |
create() |
Creates instance of EventError with no parameters set.
|
static EventError |
create(java.lang.Integer errorCode,
java.lang.String description) |
Creates instance of EventError with all parameters set.
|
abstract java.lang.String |
getDescription() |
A description of the error.
|
abstract java.lang.Integer |
getErrorCode() |
The error code returned in an
EventError . |
abstract java.lang.Integer |
getReferenceId() |
An integer that provides a unique identifier
for each request or event message.
|
abstract void |
setDescription(java.lang.String description) |
A description of the error.
|
abstract void |
setErrorCode(int errorCode) |
The error code returned in an
EventError . |
abstract void |
setErrorCode(java.lang.Integer errorCode) |
The error code returned in an
EventError . |
abstract void |
setReferenceId(int referenceId) |
An integer that provides a unique identifier
for each request or event message.
|
abstract void |
setReferenceId(java.lang.Integer referenceId) |
An integer that provides a unique identifier
for each request or event message.
|
equals, hashCode, toString, toString
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription
public static final int ID
public static final java.lang.String NAME
public static EventError create()
public static EventError create(java.lang.Integer errorCode, java.lang.String description)
errorCode
- ErrorCodedescription
- Descriptionpublic abstract java.lang.Integer getReferenceId()
public abstract void setReferenceId(java.lang.Integer referenceId)
public abstract void setReferenceId(int referenceId)
public abstract java.lang.Integer getErrorCode()
EventError
.public abstract void setErrorCode(java.lang.Integer errorCode)
EventError
.public abstract void setErrorCode(int errorCode)
EventError
.public abstract java.lang.String getDescription()
public abstract void setDescription(java.lang.String description)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.