|
||||||||||||
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.AnyMessage
Field Summary | |
---|---|
protected Any |
anyValue_
the wrapped value |
static int |
DEFAULT_PRIORITY
|
protected StructuredEvent |
structuredEventValue_
the wrapped Any converted to a StructuredEvent |
static java.lang.String |
TYPE_NAME
|
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 | |
---|---|
AnyMessage()
|
Method Summary | |
---|---|
void |
doReset()
|
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 |
setAny(Any any)
|
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, getReceiveTimestamp, initReceiveTimestamp, match, removeReference, reset, 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 |
Field Detail |
public static final java.lang.String TYPE_NAME
public static final int DEFAULT_PRIORITY
protected Any anyValue_
protected StructuredEvent structuredEventValue_
Constructor Detail |
public AnyMessage()
Method Detail |
public void setAny(Any any)
public void doReset()
doReset
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 Property[] toTypedEvent() throws NoTranslationException
AbstractMessage
toTypedEvent
in class AbstractMessage
NoTranslationException
- if the contents of the message cannot be translated into a TypedEvent.public StructuredEvent toStructuredEvent()
AbstractMessage
toStructuredEvent
in class AbstractMessage
StructuredEvent
valuepublic 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 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 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 java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |