|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.notification.util.AbstractPoolable
org.jacorb.notification.AbstractMessage
org.jacorb.notification.StructuredEventMessage
Adapts a StructuredEvent to the Message Interface.
Field Summary |
---|
Fields inherited from class org.jacorb.notification.AbstractMessage |
---|
consumerAdminFiltered_, proxyConsumerFiltered_, proxySupplierFiltered_, referenced_, supplierAdminFiltered_ |
Fields inherited from class org.jacorb.notification.util.AbstractPoolable |
---|
logger_ |
Constructor Summary | |
---|---|
StructuredEventMessage()
|
Method Summary | |
---|---|
EvaluationResult |
extractFilterableData(EvaluationContext context,
ComponentName root,
java.lang.String v)
|
EvaluationResult |
extractVariableHeader(EvaluationContext context,
ComponentName root,
java.lang.String v)
|
java.lang.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 |
reset()
Reset the Object to an initial state. |
void |
setStructuredEvent(StructuredEvent structuredEvent,
boolean startTimeSupported,
boolean timeOutSupported)
|
Any |
toAny()
Access this NotificationEvent as Any. |
java.lang.String |
toString()
|
StructuredEvent |
toStructuredEvent()
Access this NotificationEvent as StructuredEvent. |
Property[] |
toTypedEvent()
convert this message to a TypedEvent. |
Methods inherited from class org.jacorb.notification.AbstractMessage |
---|
addReference, calcConstraintKey, extractValue, extractValue, getFilterStage, getHandle, match, removeReference, setFilterStage |
Methods inherited from class org.jacorb.notification.util.AbstractPoolable |
---|
dispose, setObjectPool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StructuredEventMessage()
Method Detail |
public void setStructuredEvent(StructuredEvent structuredEvent, boolean startTimeSupported, boolean timeOutSupported)
public void reset()
AbstractPoolable
reset
in class AbstractMessage
public int getType()
AbstractMessage
Message.TYPE_ANY
,Message.TYPE_STRUCTURED
, or Message.TYPE_TYPED
.
getType
in class AbstractMessage
public Any toAny()
AbstractMessage
toAny
in class AbstractMessage
Any
valuepublic StructuredEvent toStructuredEvent()
AbstractMessage
toStructuredEvent
in class AbstractMessage
StructuredEvent
valuepublic Property[] toTypedEvent() throws NoTranslationException
AbstractMessage
toTypedEvent
in class AbstractMessage
NoTranslationException
- if the contents of the message cannot be translated into a TypedEvent.public java.lang.String getConstraintKey()
AbstractMessage
getConstraintKey
in class AbstractMessage
String
valuepublic EvaluationResult extractFilterableData(EvaluationContext context, ComponentName root, java.lang.String v) throws EvaluationException
extractFilterableData
in class AbstractMessage
EvaluationException
public EvaluationResult extractVariableHeader(EvaluationContext context, ComponentName root, java.lang.String v) 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 boolean match(Filter filter) throws UnsupportedFilterableData
match
in class AbstractMessage
UnsupportedFilterableData
public int getPriority()
getPriority
in class AbstractMessage
public boolean match(MappingFilter filter, AnyHolder value) throws UnsupportedFilterableData
match
in class AbstractMessage
UnsupportedFilterableData
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |