ProtocolDescriptionSupport
ProtocolUnknownMessage.ProtocolUnknownMessageData
public abstract class ProtocolUnknownMessage extends Message
This example of attributes subscription:AttributeSubscriptionList asl = new AttributeSubscriptionList(); asl.addAttribute(1001, "1"); asl.addAttribute(1001, "2"); asl.applyToContext(protocol.connectionContext());
If message with id 1001 is received, log-file may contain traces like this:'ProtocolUnknownMessage' (1001) attributes: 2 [Integer]
1 [String] ReferenceId [int] = 2
Modifier and Type | Class | Description |
---|---|---|
protected static class |
ProtocolUnknownMessage.ProtocolUnknownMessageData |
|
protected static class |
ProtocolUnknownMessage.ProtocolUnknownMessageDataRef |
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MESSAGE_NAME |
Modifier | Constructor | Description |
---|---|---|
protected |
ProtocolUnknownMessage() |
For internal use only.
|
Modifier and Type | Method | Description |
---|---|---|
static ProtocolUnknownMessage |
create(ProtocolDescription protocolDescription,
int messageId,
MetaData metadata,
java.lang.String referenceIdAttributeName) |
Creates protocol message instance.
Do not use this method directly. It is designed for the protocol message factories use only. |
equals, hashCode, toString, toString
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription
public static final java.lang.String MESSAGE_NAME
protected ProtocolUnknownMessage()
public static ProtocolUnknownMessage create(ProtocolDescription protocolDescription, int messageId, MetaData metadata, java.lang.String referenceIdAttributeName)
protocolDescription
- protocol description structure.messageId
- message type id.metadata
- protocol internal message description metadata.referenceIdAttributeName
- name of attribute responsible for referencing of messages or null.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.