MessageIdFilter
, MessageNameFilter
, MessageRangeFilter
setMessageHandler(handler)
to handle incoming messages asynchronously.@Deprecated public class MessageFilter extends PredicateBase<Message>
MessageFilter
class is designed for filtering messages using protocol description and endpoint
name as evaluation criteria.Constructor | Description |
---|---|
MessageFilter() |
Deprecated.
Creates an instance of
MessageFilter class. |
MessageFilter(boolean isNegated) |
Deprecated.
Creates an instance of
MessageFilter class. |
MessageFilter(boolean isNegated,
ProtocolDescription theProtocolDescription) |
Deprecated.
Creates an instance of
MessageFilter class. |
MessageFilter(boolean isNegated,
ProtocolDescription theProtocolDescription,
java.lang.String theEndpointName) |
Deprecated.
Creates an instance of
MessageFilter class. |
MessageFilter(int protocolId) |
Deprecated.
Creates an instance of
MessageFilter class. |
MessageFilter(ProtocolDescription theProtocolDescription) |
Deprecated.
Creates an instance of
MessageFilter class. |
MessageFilter(ProtocolDescription theProtocolDescription,
java.lang.String theEndpointName) |
Deprecated.
Creates an instance of
MessageFilter class. |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
evaluate(Message message) |
Deprecated.
Evaluates a message using protocol description, endpoint name, and protocolId as criteria.
|
java.lang.String |
getEndpointName() |
Deprecated.
Gets endpoint name.
|
ProtocolDescription |
getProtocolDescription() |
Deprecated.
Gets the protocol description.
|
java.lang.Integer |
getProtocolId() |
Deprecated.
Gets the value of the protocol's unique identifier.
|
void |
setEndpointName(java.lang.String theEndpointName) |
Deprecated.
Sets endpoint name for filtering.
|
void |
setProtocolDescription(ProtocolDescription theProtocolDescription) |
Deprecated.
Sets protocol description for filtering.
|
void |
setProtocolId(java.lang.Integer theProtocolId) |
Deprecated.
Sets the value of the protocol's unique identifier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke, isNegated, setNegated
public MessageFilter(boolean isNegated, ProtocolDescription theProtocolDescription, java.lang.String theEndpointName)
MessageFilter
class.isNegated
- If true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationtheProtocolDescription
- Description of protocoltheEndpointName
- Name of endpointpublic MessageFilter(ProtocolDescription theProtocolDescription, java.lang.String theEndpointName)
MessageFilter
class.theProtocolDescription
- Description of protocoltheEndpointName
- Name of endpointpublic MessageFilter(boolean isNegated, ProtocolDescription theProtocolDescription)
MessageFilter
class.isNegated
- If true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationtheProtocolDescription
- Description of protocolpublic MessageFilter(ProtocolDescription theProtocolDescription)
MessageFilter
class.theProtocolDescription
- Description of protocolpublic MessageFilter(int protocolId)
MessageFilter
class.protocolId
- The protocol's unique identifier as specified by its ProtocolId propertypublic MessageFilter(boolean isNegated)
MessageFilter
class.isNegated
- If true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationpublic MessageFilter()
MessageFilter
class.public ProtocolDescription getProtocolDescription()
public void setProtocolDescription(ProtocolDescription theProtocolDescription)
theProtocolDescription
- new value for protocol description or nullpublic java.lang.String getEndpointName()
public void setEndpointName(java.lang.String theEndpointName)
theEndpointName
- new value for endpoint name or nullpublic java.lang.Integer getProtocolId()
public void setProtocolId(java.lang.Integer theProtocolId)
theProtocolId
- new value for protocolId or nullprotected boolean evaluate(Message message)
evaluate
in class PredicateBase<Message>
message
- A message targeted for evaluationtrue
if the filter's properties match their counterparts in
Message, 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.