setMessageHandler(handler)
to handle incoming messages asynchronously.@Deprecated public final class MessageIdFilter extends MessageFilter
MessageIdFilter
uses message id as evaluation criteria.Constructor | Description |
---|---|
MessageIdFilter(boolean isNegated,
int theMessageId) |
Deprecated.
Creates an instance of
MessageIdFilter class. |
MessageIdFilter(boolean isNegated,
ProtocolDescription theProtocolDescription,
int theMessageId) |
Deprecated.
Creates an instance of
MessageIdFilter class. |
MessageIdFilter(int theMessageId) |
Deprecated.
Creates an instance of
MessageIdFilter class. |
MessageIdFilter(ProtocolDescription theProtocolDescription,
int theMessageId) |
Deprecated.
Creates an instance of
MessageIdFilter class. |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
evaluate(Message message) |
Deprecated.
Evaluates a message using message id as evaluation criteria.
|
int |
getMessageId() |
Deprecated.
Gets message id.
|
void |
setMessageId(int value) |
Deprecated.
Sets message id.
|
getEndpointName, getProtocolDescription, getProtocolId, setEndpointName, setProtocolDescription, setProtocolId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke, isNegated, setNegated
public MessageIdFilter(int theMessageId)
MessageIdFilter
class.theMessageId
- initializes message idpublic MessageIdFilter(boolean isNegated, int theMessageId)
MessageIdFilter
class.isNegated
- if true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationtheMessageId
- initializes message idpublic MessageIdFilter(ProtocolDescription theProtocolDescription, int theMessageId)
MessageIdFilter
class.theProtocolDescription
- initializes protocol descriptiontheMessageId
- initializes message id propertypublic MessageIdFilter(boolean isNegated, ProtocolDescription theProtocolDescription, int theMessageId)
MessageIdFilter
class.isNegated
- if true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationtheProtocolDescription
- initializes protocol descriptiontheMessageId
- initializes message idpublic int getMessageId()
public void setMessageId(int value)
value
- new value for message idprotected boolean evaluate(Message message)
evaluate
in class MessageFilter
message
- A message targeted for evaluationtrue
if message id, protocol description and endpoint name of the message are equal
to the message id protocol description and endpoint name of the message id filter, otherwise
returns false
.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.