org.jacorb.notification
public abstract class AbstractMessage extends AbstractPoolable
Version: $Id: AbstractMessage.java,v 1.32 2006/07/14 12:05:19 alphonse.bendt Exp $
Field Summary | |
---|---|
protected boolean | consumerAdminFiltered_ |
protected boolean | proxyConsumerFiltered_ |
protected boolean | proxySupplierFiltered_ |
protected int | referenced_
Internal Reference Counter. |
protected boolean | supplierAdminFiltered_ |
Method Summary | |
---|---|
void | addReference()
Add a reference on this NotificationEvent. |
static String | calcConstraintKey(String domain_name, String type_name)
Provide a Uniform Mapping from domain_name and type_name to a Key that can be used to put
EventTypes into a Map. if (d1 == d2) AND (t1 == t2) => calcConstraintKey(d1, t1) ==
calcConstraintKey(d2, t2).
|
protected void | doReset() |
abstract EvaluationResult | extractFilterableData(EvaluationContext context, ComponentName componentRootNode, String variable) |
EvaluationResult | extractValue(EvaluationContext context, ComponentName componentRootNode, RuntimeVariable runtimeVariable) |
EvaluationResult | extractValue(EvaluationContext evaluationContext, ComponentName componentRootNode) |
abstract EvaluationResult | extractVariableHeader(EvaluationContext context, ComponentName componentRootNode, String variable) |
abstract String | getConstraintKey()
get the Constraint Key for this Event. |
FilterStage | getFilterStage() |
Message | getHandle() |
abstract int | getPriority() |
long | getReceiveTimestamp() |
abstract long | getStartTime() |
abstract long | getStopTime() |
abstract long | getTimeout() |
abstract int | getType()
get the Type of this NotificationEvent. |
abstract boolean | hasStartTime() |
abstract boolean | hasStopTime() |
abstract boolean | hasTimeout() |
void | initReceiveTimestamp() |
abstract boolean | match(Filter filter) |
boolean | match(FilterStage filterStage) |
abstract boolean | match(MappingFilter filter, AnyHolder value) |
protected void | removeReference()
release this NotificationEvent. |
void | reset() |
void | setFilterStage(FilterStage node) |
abstract Any | toAny()
Access this NotificationEvent as Any.
|
abstract StructuredEvent | toStructuredEvent()
Access this NotificationEvent as StructuredEvent.
|
abstract Property[] | toTypedEvent()
convert this message to a TypedEvent.
|
Parameters: domain_name
a String
value type_name
a String
value
Returns: an Unique Constraint Key.
Returns: a String
value
Returns: the Type of this NotificationEvent.
Returns: an Any
value
Returns: a StructuredEvent
value
Returns: a sequence of name-value pairs.
Throws: NoTranslationException if the contents of the message cannot be translated into a TypedEvent.