Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jacorb.notification.interfaces.AbstractPoolable
org.jacorb.notification.AbstractMessage
org.jacorb.notification.AnyMessage
public class AnyMessage
extends AbstractMessage
Field Summary | |
static int | |
static String | |
protected Any |
|
protected StructuredEvent |
|
Fields inherited from class org.jacorb.notification.AbstractMessage | |
consumerAdminFiltered_ , proxyConsumerFiltered_ , proxySupplierFiltered_ , referenced_ , supplierAdminFiltered_ |
Fields inherited from class org.jacorb.notification.interfaces.AbstractPoolable | |
logger_ |
Constructor Summary | |
Method Summary | |
EvaluationResult |
|
EvaluationResult |
|
String |
|
int | |
Date | |
Date | |
long | |
int |
|
boolean | |
boolean | |
boolean | |
boolean | |
boolean |
|
void |
|
void | |
Any |
|
String |
|
StructuredEvent |
|
Methods inherited from class org.jacorb.notification.AbstractMessage | |
addReference , extractFilterableData , extractValue , extractValue , extractVariableHeader , getConstraintKey , getFilterStage , getHandle , getPriority , getStartTime , getStopTime , getTimeout , getType , hasStartTime , hasStopTime , hasTimeout , match , match , match , removeReference , reset , setFilterStage , toAny , toStructuredEvent |
Methods inherited from class org.jacorb.notification.interfaces.AbstractPoolable | |
configure , dispose , reset , setObjectPool |
public static final int DEFAULT_PRIORITY
- Field Value:
- 0
public static final String TYPE_NAME
protected StructuredEvent structuredEventValue_
the wrapped Any converted to a StructuredEvent
public EvaluationResult extractFilterableData(EvaluationContext context, ComponentName root, String v) throws EvaluationException
- Overrides:
- extractFilterableData in interface AbstractMessage
public EvaluationResult extractVariableHeader(EvaluationContext context, ComponentName root, String v) throws EvaluationException
- Overrides:
- extractVariableHeader in interface AbstractMessage
public String getConstraintKey()
get the Constraint Key for this Event. The Constraint Key is used to fetch the Filter Constraints that must be evaluated for this Event. The Constraint Key consists of domain_name and type_name of the Event.
- Overrides:
- getConstraintKey in interface AbstractMessage
- Returns:
- a
String
value
public int getType()
get the Type of this NotificationEvent. The value is one ofTYPE_ANY
,TYPE_STRUCTURED
, orTYPE_TYPED
.
- Overrides:
- getType in interface AbstractMessage
- Returns:
- the Type of this NotificationEvent.
public boolean match(Filter filter) throws UnsupportedFilterableData
- Overrides:
- match in interface AbstractMessage
public boolean match(MappingFilter filter, AnyHolder value) throws UnsupportedFilterableData
- Overrides:
- match in interface AbstractMessage
public Any toAny()
Access this NotificationEvent as Any.
- Overrides:
- toAny in interface AbstractMessage
- Returns:
- an
Any
value
public String toString()
public StructuredEvent toStructuredEvent()
Access this NotificationEvent as StructuredEvent.
- Overrides:
- toStructuredEvent in interface AbstractMessage
- Returns:
- a
StructuredEvent
value