|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.commons.PredicateBase<Message>
com.genesyslab.platform.applicationblocks.commons.broker.MessageFilter
com.genesyslab.platform.applicationblocks.commons.broker.MessageNameFilter
setMessageHandler(handler)
to handle incoming messages asynchronously.
@Deprecated public class MessageNameFilter
MessageNameFilter
uses message name as evaluation criteria.
Constructor Summary | |
---|---|
MessageNameFilter(boolean isNegated,
ProtocolDescription theProtocolDescription,
java.lang.String theMessageName)
Deprecated. Creates an instance of MessageNameFilter class. |
|
MessageNameFilter(boolean isNegated,
java.lang.String theMessageName)
Deprecated. Creates an instance of MessageNameFilter class. |
|
MessageNameFilter(ProtocolDescription theProtocolDescription,
java.lang.String theMessageName)
Deprecated. Creates an instance of MessageNameFilter class. |
|
MessageNameFilter(java.lang.String theMessageName)
Deprecated. Creates an instance of MessageNameFilter class. |
Method Summary | |
---|---|
protected boolean |
evaluate(Message message)
Deprecated. Evaluates a message name, protocol description and endpoint name as criteria. |
java.lang.String |
getMessageName()
Deprecated. Gets message name. |
void |
setMessageId(java.lang.String value)
Deprecated. |
void |
setMessageName(java.lang.String value)
Deprecated. Sets message name. |
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.broker.MessageFilter |
---|
getEndpointName, getProtocolDescription, getProtocolId, setEndpointName, setProtocolDescription, setProtocolId |
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.PredicateBase |
---|
invoke, isNegated, setNegated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageNameFilter(java.lang.String theMessageName)
MessageNameFilter
class.
theMessageName
- initializes message namepublic MessageNameFilter(boolean isNegated, java.lang.String theMessageName)
MessageNameFilter
class.
isNegated
- if true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationtheMessageName
- initializes message namepublic MessageNameFilter(ProtocolDescription theProtocolDescription, java.lang.String theMessageName)
MessageNameFilter
class.
theProtocolDescription
- initializes protocol descriptiontheMessageName
- initializes message namepublic MessageNameFilter(boolean isNegated, ProtocolDescription theProtocolDescription, java.lang.String theMessageName)
MessageNameFilter
class.
isNegated
- if true
- the predicate is considered as negated:
an analog of the logical 'NOT' operationtheProtocolDescription
- initializes protocol descriptiontheMessageName
- initializes message nameMethod Detail |
---|
public java.lang.String getMessageName()
public void setMessageName(java.lang.String value)
value
- new value for message namepublic void setMessageId(java.lang.String value)
setMessageName(String)
protected boolean evaluate(Message message)
evaluate
in class MessageFilter
message
- a message targeted for evaluation
true
if message name, protocol description and endpoint name of the message are equal
to the message name, protocol description and endpoint name of the message name filter,
otherwise returns false
.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |