public class TypedEventMessage extends AbstractMessage
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_TYPE |
static String |
OPERATION_NAME |
static String |
TYPE_NAME |
consumerAdminFiltered_, proxyConsumerFiltered_, proxySupplierFiltered_, referenced_, supplierAdminFiltered_
logger_
Constructor and Description |
---|
TypedEventMessage() |
Modifier and Type | Method and Description |
---|---|
void |
doReset() |
EvaluationResult |
extractFilterableData(EvaluationContext evaluationContext,
ComponentName componentName,
String headerName) |
EvaluationResult |
extractVariableHeader(EvaluationContext evaluationContext,
ComponentName componentName,
String headerName) |
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 mappingFilter,
AnyHolder anyHolder) |
void |
setTypedEvent(Property[] props) |
void |
setTypedEvent(String interfaceName,
String operation,
Property[] params) |
Any |
toAny()
Access this NotificationEvent as Any.
|
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, setFilterStage
dispose, setObjectPool
public static final String TYPE_NAME
public static final String OPERATION_NAME
public static final String EVENT_TYPE
public void doReset()
doReset
in class AbstractMessage
public String getConstraintKey()
AbstractMessage
getConstraintKey
in class AbstractMessage
String
valuepublic void setTypedEvent(Property[] props)
public Any toAny()
AbstractMessage
toAny
in class AbstractMessage
Any
valuepublic StructuredEvent toStructuredEvent()
AbstractMessage
toStructuredEvent
in class AbstractMessage
StructuredEvent
valuepublic Property[] toTypedEvent()
AbstractMessage
toTypedEvent
in class AbstractMessage
public int getType()
AbstractMessage
Message.TYPE_ANY
,Message.TYPE_STRUCTURED
, or Message.TYPE_TYPED
.getType
in class AbstractMessage
public EvaluationResult extractFilterableData(EvaluationContext evaluationContext, ComponentName componentName, String headerName) throws EvaluationException
extractFilterableData
in class AbstractMessage
EvaluationException
public EvaluationResult extractVariableHeader(EvaluationContext evaluationContext, ComponentName componentName, String headerName) throws EvaluationException
extractVariableHeader
in class AbstractMessage
EvaluationException
public boolean hasStartTime()
hasStartTime
in class AbstractMessage
public long getStartTime()
getStartTime
in class AbstractMessage
public boolean hasStopTime()
hasStopTime
in class AbstractMessage
public long getStopTime()
getStopTime
in class AbstractMessage
public boolean hasTimeout()
hasTimeout
in class AbstractMessage
public long getTimeout()
getTimeout
in class AbstractMessage
public int getPriority()
getPriority
in class AbstractMessage
public boolean match(Filter filter) throws UnsupportedFilterableData
match
in class AbstractMessage
UnsupportedFilterableData
public boolean match(MappingFilter mappingFilter, AnyHolder anyHolder) throws UnsupportedFilterableData
match
in class AbstractMessage
UnsupportedFilterableData
Copyright © 2016 JacORB. All rights reserved.