public class AnyMessage extends AbstractMessage
| Modifier and Type | Field and Description |
|---|---|
protected Any |
anyValue_
the wrapped value
|
static int |
DEFAULT_PRIORITY |
protected StructuredEvent |
structuredEventValue_
the wrapped Any converted to a StructuredEvent
|
static String |
TYPE_NAME |
consumerAdminFiltered_, proxyConsumerFiltered_, proxySupplierFiltered_, referenced_, supplierAdminFiltered_logger_| Constructor and Description |
|---|
AnyMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
doReset() |
EvaluationResult |
extractFilterableData(EvaluationContext context,
ComponentName root,
String v) |
EvaluationResult |
extractVariableHeader(EvaluationContext context,
ComponentName root,
String v) |
String |
getConstraintKey()
get the Constraint Key for this Event.
|
int |
getPriority() |
long |
getStartTime() |
long |
getStopTime() |
long |
getTimeout() |
int |
getType()
get the Type of this NotificationEvent.
|
boolean |
hasStartTime() |
boolean |
hasStopTime() |
boolean |
hasTimeout() |
boolean |
match(Filter filter) |
boolean |
match(MappingFilter filter,
AnyHolder value) |
void |
setAny(Any any) |
Any |
toAny()
Access this NotificationEvent as Any.
|
String |
toString() |
StructuredEvent |
toStructuredEvent()
Access this NotificationEvent as StructuredEvent.
|
Property[] |
toTypedEvent()
convert this message to a TypedEvent.
|
addReference, calcConstraintKey, extractValue, extractValue, getFilterStage, getHandle, getReceiveTimestamp, initReceiveTimestamp, match, removeReference, reset, setFilterStagedispose, setObjectPoolpublic static final String TYPE_NAME
public static final int DEFAULT_PRIORITY
protected Any anyValue_
protected StructuredEvent structuredEventValue_
public void setAny(Any any)
public void doReset()
doReset in class AbstractMessagepublic int getType()
AbstractMessageMessage.TYPE_ANY,Message.TYPE_STRUCTURED, or Message.TYPE_TYPED.getType in class AbstractMessagepublic Any toAny()
AbstractMessagetoAny in class AbstractMessageAny valuepublic Property[] toTypedEvent() throws NoTranslationException
AbstractMessagetoTypedEvent in class AbstractMessageNoTranslationException - if the contents of the message cannot be translated into a TypedEvent.public StructuredEvent toStructuredEvent()
AbstractMessagetoStructuredEvent in class AbstractMessageStructuredEvent valuepublic String getConstraintKey()
AbstractMessagegetConstraintKey in class AbstractMessageString valuepublic EvaluationResult extractFilterableData(EvaluationContext context, ComponentName root, String v) throws EvaluationException
extractFilterableData in class AbstractMessageEvaluationExceptionpublic EvaluationResult extractVariableHeader(EvaluationContext context, ComponentName root, String v) throws EvaluationException
extractVariableHeader in class AbstractMessageEvaluationExceptionpublic boolean match(Filter filter) throws UnsupportedFilterableData
match in class AbstractMessageUnsupportedFilterableDatapublic int getPriority()
getPriority in class AbstractMessagepublic boolean match(MappingFilter filter, AnyHolder value) throws UnsupportedFilterableData
match in class AbstractMessageUnsupportedFilterableDatapublic boolean hasStartTime()
hasStartTime in class AbstractMessagepublic long getStartTime()
getStartTime in class AbstractMessagepublic boolean hasStopTime()
hasStopTime in class AbstractMessagepublic long getStopTime()
getStopTime in class AbstractMessagepublic boolean hasTimeout()
hasTimeout in class AbstractMessagepublic long getTimeout()
getTimeout in class AbstractMessageCopyright © 2015 JacORB. All rights reserved.