|
||||||||||||
| 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 AbstractMessagepublic int getType()
AbstractMessageMessage.TYPE_ANY,Message.TYPE_STRUCTURED, or Message.TYPE_TYPED.
getType in class AbstractMessagepublic Any toAny()
AbstractMessage
toAny in class AbstractMessageAny valuepublic StructuredEvent toStructuredEvent()
AbstractMessage
toStructuredEvent in class AbstractMessageStructuredEvent value
public Property[] toTypedEvent()
throws NoTranslationException
AbstractMessage
toTypedEvent in class AbstractMessageNoTranslationException - if the contents of the message cannot be translated into a TypedEvent.public java.lang.String getConstraintKey()
AbstractMessage
getConstraintKey in class AbstractMessageString value
public EvaluationResult extractFilterableData(EvaluationContext context,
ComponentName root,
java.lang.String v)
throws EvaluationException
extractFilterableData in class AbstractMessageEvaluationException
public EvaluationResult extractVariableHeader(EvaluationContext context,
ComponentName root,
java.lang.String v)
throws EvaluationException
extractVariableHeader in class AbstractMessageEvaluationExceptionpublic boolean hasStartTime()
hasStartTime in class AbstractMessagepublic long getStartTime()
getStartTime in class AbstractMessagepublic boolean hasStopTime()
hasStopTime in class AbstractMessagepublic long getStopTime()
getStopTime in class AbstractMessagepublic boolean hasTimeout()
hasTimeout in class AbstractMessagepublic long getTimeout()
getTimeout in class AbstractMessage
public boolean match(Filter filter)
throws UnsupportedFilterableData
match in class AbstractMessageUnsupportedFilterableDatapublic int getPriority()
getPriority in class AbstractMessage
public boolean match(MappingFilter filter,
AnyHolder value)
throws UnsupportedFilterableData
match in class AbstractMessageUnsupportedFilterableDatapublic java.lang.String toString()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||