setMessageHandler(handler)
to handle incoming messages asynchronously.@Deprecated public class MessageRangeFilter extends MessageFilter
MessageRangeFilter
uses message id as evaluation criteria.
MessageRangeFilter
contains a set of valid message ids that is used for checking if a message's id
present in the set.Constructor | Description |
---|---|
MessageRangeFilter(boolean isNegated,
int[] messagesRange) |
Deprecated.
Creates an instance of
MessageRangeFilter class. |
MessageRangeFilter(boolean isNegated,
ProtocolDescription protocolDescription,
int[] messagesRange) |
Deprecated.
Creates an instance of
MessageRangeFilter class. |
MessageRangeFilter(int[] messagesRange) |
Deprecated.
Creates an instance of
MessageRangeFilter class. |
MessageRangeFilter(ProtocolDescription protocolDescription,
int[] messagesRange) |
Deprecated.
Creates an instance of
MessageRangeFilter class. |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
evaluate(Message message) |
Deprecated.
Evaluates a message using message id as evaluation criteria.
|
int[] |
getMessagesRange() |
Deprecated.
Gets the set of message ids.
|
void |
setMessagesRange(int[] messagesRange) |
Deprecated.
Sets the set of valid message ids.
|
getEndpointName, getProtocolDescription, getProtocolId, setEndpointName, setProtocolDescription, setProtocolId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke, isNegated, setNegated
public MessageRangeFilter(int[] messagesRange)
MessageRangeFilter
class.messagesRange
- initializes message rangepublic MessageRangeFilter(boolean isNegated, int[] messagesRange)
MessageRangeFilter
class.isNegated
- if true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationmessagesRange
- initializes message rangepublic MessageRangeFilter(ProtocolDescription protocolDescription, int[] messagesRange)
MessageRangeFilter
class.protocolDescription
- initializes protocol descriptionmessagesRange
- initializes message rangepublic MessageRangeFilter(boolean isNegated, ProtocolDescription protocolDescription, int[] messagesRange)
MessageRangeFilter
class.isNegated
- if true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationprotocolDescription
- initializes protocol descriptionmessagesRange
- initializes message rangepublic int[] getMessagesRange()
public void setMessagesRange(int[] messagesRange)
messagesRange
- set of message idsprotected boolean evaluate(Message message)
evaluate
in class MessageFilter
message
- a message targeted for evaluationtrue
if the obj's message id present in the set of the valid message ids,
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.