org.jacorb.notification
Class TypedEventMessage
java.lang.Object
org.jacorb.notification.util.AbstractPoolable
org.jacorb.notification.AbstractMessage
org.jacorb.notification.TypedEventMessage
- All Implemented Interfaces:
- Disposable
public class TypedEventMessage
- extends AbstractMessage
- Version:
- $Id: TypedEventMessage.java,v 1.6 2006/03/08 20:38:30 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
| Methods inherited from class org.jacorb.notification.AbstractMessage |
addReference, calcConstraintKey, extractValue, extractValue, getFilterStage, getHandle, getReceiveTimestamp, initReceiveTimestamp, removeReference, reset, setFilterStage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_NAME
public static final java.lang.String TYPE_NAME
- See Also:
- Constant Field Values
OPERATION_NAME
public static final java.lang.String OPERATION_NAME
- See Also:
- Constant Field Values
EVENT_TYPE
public static final java.lang.String EVENT_TYPE
- See Also:
- Constant Field Values
TypedEventMessage
public TypedEventMessage()
doReset
public void doReset()
- Overrides:
doReset in class AbstractMessage
getConstraintKey
public java.lang.String getConstraintKey()
- Description copied from class:
AbstractMessage
- 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.
- Specified by:
getConstraintKey in class AbstractMessage
- Returns:
- a
String value
setTypedEvent
public void setTypedEvent(java.lang.String interfaceName,
java.lang.String operation,
Property[] params)
setTypedEvent
public void setTypedEvent(Property[] props)
toAny
public org.omg.CORBA.Any toAny()
- Description copied from class:
AbstractMessage
- Access this NotificationEvent as Any.
- Specified by:
toAny in class AbstractMessage
- Returns:
- an
Any value
toStructuredEvent
public StructuredEvent toStructuredEvent()
- Description copied from class:
AbstractMessage
- Access this NotificationEvent as StructuredEvent.
- Specified by:
toStructuredEvent in class AbstractMessage
- Returns:
- a
StructuredEvent value
toTypedEvent
public Property[] toTypedEvent()
- Description copied from class:
AbstractMessage
- convert this message to a TypedEvent.
- Specified by:
toTypedEvent in class AbstractMessage
- Returns:
- a sequence of name-value pairs.
getType
public int getType()
- Description copied from class:
AbstractMessage
- get the Type of this NotificationEvent. The value is one of
Message.TYPE_ANY,Message.TYPE_STRUCTURED, or Message.TYPE_TYPED.
- Specified by:
getType in class AbstractMessage
- Returns:
- the Type of this NotificationEvent.
extractFilterableData
public EvaluationResult extractFilterableData(EvaluationContext evaluationContext,
ComponentName componentName,
java.lang.String headerName)
throws EvaluationException
- Specified by:
extractFilterableData in class AbstractMessage
- Throws:
EvaluationException
extractVariableHeader
public EvaluationResult extractVariableHeader(EvaluationContext evaluationContext,
ComponentName componentName,
java.lang.String headerName)
throws EvaluationException
- Specified by:
extractVariableHeader in class AbstractMessage
- Throws:
EvaluationException
hasStartTime
public boolean hasStartTime()
- Specified by:
hasStartTime in class AbstractMessage
getStartTime
public long getStartTime()
- Specified by:
getStartTime in class AbstractMessage
hasStopTime
public boolean hasStopTime()
- Specified by:
hasStopTime in class AbstractMessage
getStopTime
public long getStopTime()
- Specified by:
getStopTime in class AbstractMessage
hasTimeout
public boolean hasTimeout()
- Specified by:
hasTimeout in class AbstractMessage
getTimeout
public long getTimeout()
- Specified by:
getTimeout in class AbstractMessage
getPriority
public int getPriority()
- Specified by:
getPriority in class AbstractMessage
match
public boolean match(Filter filter)
throws UnsupportedFilterableData
- Specified by:
match in class AbstractMessage
- Throws:
UnsupportedFilterableData
match
public boolean match(MappingFilter mappingFilter,
org.omg.CORBA.AnyHolder anyHolder)
throws UnsupportedFilterableData
- Specified by:
match in class AbstractMessage
- Throws:
UnsupportedFilterableData