|
||||||||||
| 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
public class AnyMessage
| Field Summary | |
|---|---|
protected org.omg.CORBA.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,
org.omg.CORBA.AnyHolder value)
|
void |
setAny(org.omg.CORBA.Any any)
|
org.omg.CORBA.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, 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 org.omg.CORBA.Any anyValue_
protected StructuredEvent structuredEventValue_
| Constructor Detail |
|---|
public AnyMessage()
| Method Detail |
|---|
public void setAny(org.omg.CORBA.Any any)
public void doReset()
doReset in class AbstractMessagepublic int getType()
AbstractMessageMessage.TYPE_ANY,Message.TYPE_STRUCTURED, or Message.TYPE_TYPED.
getType in class AbstractMessagepublic org.omg.CORBA.Any toAny()
AbstractMessage
toAny in class AbstractMessageAny value
public Property[] toTypedEvent()
throws NoTranslationException
AbstractMessage
toTypedEvent in class AbstractMessageNoTranslationException - if the contents of the message cannot be translated into a TypedEvent.public StructuredEvent toStructuredEvent()
AbstractMessage
toStructuredEvent in class AbstractMessageStructuredEvent valuepublic 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 AbstractMessageEvaluationException
public boolean match(Filter filter)
throws UnsupportedFilterableData
match in class AbstractMessageUnsupportedFilterableDatapublic int getPriority()
getPriority in class AbstractMessage
public boolean match(MappingFilter filter,
org.omg.CORBA.AnyHolder value)
throws UnsupportedFilterableData
match in class AbstractMessageUnsupportedFilterableDatapublic 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 AbstractMessagepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||