ProtocolDescriptionSupport
@Generated(value="com.genesyslab.platform.commons.protocol.generator.Generator", date="2021-06-14T15:45:22.957-07:00") public abstract class EventError extends Message
Modifier and Type | Method | Description |
---|---|---|
static EventError |
create() |
Creates instance of EventError with no parameters set.
|
static EventError |
create(MessageTypes messageType,
java.util.Date time,
java.lang.Integer subscriberType) |
Creates instance of EventError with required parameters set.
|
static EventError |
create(MessageTypes messageType,
java.util.Date time,
java.lang.Integer subscriberType,
java.lang.Integer attachedDataLength,
byte[] attachedData,
KeyValueCollection userData) |
Creates instance of EventError with all parameters set.
|
abstract byte[] |
getAttachedData() |
Any data attached to the message
|
abstract java.lang.Integer |
getAttachedDataLength() |
Length of the attached data
|
abstract MessageTypes |
getMessageType() |
The message type.
|
abstract java.lang.Integer |
getSubscriberType() |
Subscription: Type of the message to subscribe to
|
abstract java.util.Date |
getTime() |
Note that server sends this value in UTC format always.
|
abstract KeyValueCollection |
getUserData() |
Attached data packed in TKVList
|
abstract void |
setAttachedData(byte[] attachedData) |
Any data attached to the message
|
abstract void |
setAttachedDataLength(int attachedDataLength) |
Length of the attached data
|
abstract void |
setAttachedDataLength(java.lang.Integer attachedDataLength) |
Length of the attached data
|
abstract void |
setMessageType(MessageTypes messageType) |
The message type.
|
abstract void |
setSubscriberType(int subscriberType) |
Subscription: Type of the message to subscribe to
|
abstract void |
setSubscriberType(java.lang.Integer subscriberType) |
Subscription: Type of the message to subscribe to
|
abstract void |
setTime(java.util.Date time) |
Note that server sends this value in UTC format always.
|
abstract void |
setUserData(KeyValueCollection userData) |
Attached data packed in TKVList
|
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(MessageTypes messageType, java.util.Date time, java.lang.Integer subscriberType, java.lang.Integer attachedDataLength, byte[] attachedData, KeyValueCollection userData)
messageType
- Type of the messagetime
- Note that server sends this value in UTC format always.subscriberType
- Subscription: Type of the message to subscribe toattachedDataLength
- Length of the attached dataattachedData
- Any data attached to the messageuserData
- Attached data packed in TKVListpublic static EventError create(MessageTypes messageType, java.util.Date time, java.lang.Integer subscriberType)
messageType
- Type of the messagetime
- Note that server sends this value in UTC format always.subscriberType
- Subscription: Type of the message to subscribe topublic abstract MessageTypes getMessageType()
public abstract void setMessageType(MessageTypes messageType)
public abstract java.util.Date getTime()
public abstract void setTime(java.util.Date time)
time
- new value of the propertypublic abstract java.lang.Integer getSubscriberType()
public abstract void setSubscriberType(java.lang.Integer subscriberType)
subscriberType
- new value of the propertypublic abstract void setSubscriberType(int subscriberType)
subscriberType
- new value of the propertypublic abstract java.lang.Integer getAttachedDataLength()
public abstract void setAttachedDataLength(java.lang.Integer attachedDataLength)
attachedDataLength
- new value of the propertypublic abstract void setAttachedDataLength(int attachedDataLength)
attachedDataLength
- new value of the propertypublic abstract byte[] getAttachedData()
public abstract void setAttachedData(byte[] attachedData)
attachedData
- new value of the propertypublic abstract KeyValueCollection getUserData()
public abstract void setUserData(KeyValueCollection userData)
userData
- new value of the propertySend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.