org.jacorb.notification.interfaces
Interface Message

All Superinterfaces:
org.picocontainer.Disposable, Disposable

public interface Message
extends Disposable

Version:
$Id: Message.java,v 1.9 2006/02/25 15:28:40 alphonse.bendt Exp $
Author:
Alphonse Bendt

Nested Class Summary
static interface Message.MessageStateListener
           
 
Field Summary
static int TYPE_ANY
           
static int TYPE_STRUCTURED
           
static int TYPE_TYPED
           
 
Method Summary
 void actionTimeout()
           
 java.lang.Object clone()
           
 EvaluationResult extractFilterableData(EvaluationContext context, ComponentName componentRootNode, java.lang.String variable)
           
 EvaluationResult extractValue(EvaluationContext evaluationContext, ComponentName componentRootNode)
           
 EvaluationResult extractValue(EvaluationContext context, ComponentName componentRootNode, RuntimeVariable runtimeVariable)
           
 EvaluationResult extractVariableHeader(EvaluationContext context, ComponentName componentRootNode, java.lang.String variable)
           
 java.lang.String getConstraintKey()
           
 FilterStage getInitialFilterStage()
           
 int getPriority()
           
 long getReceiveTimestamp()
           
 long getStartTime()
           
 long getStopTime()
           
 long getTimeout()
           
 int getType()
           
 boolean hasStartTime()
           
 boolean hasStopTime()
           
 boolean hasTimeout()
           
 boolean isInvalid()
           
 boolean match(FilterStage filterStage)
           
 boolean match(MappingFilter filter, AnyHolder value)
           
 Message.MessageStateListener removeMessageStateListener()
           
 void setMessageStateListener(Message.MessageStateListener listener)
           
 void setPriority(int priority)
           
 void setTimeout(long timeout)
           
 Any toAny()
           
 StructuredEvent toStructuredEvent()
           
 Property[] toTypedEvent()
           
 
Methods inherited from interface org.picocontainer.Disposable
dispose
 

Field Detail

TYPE_ANY

public static final int TYPE_ANY
See Also:
Constant Field Values

TYPE_STRUCTURED

public static final int TYPE_STRUCTURED
See Also:
Constant Field Values

TYPE_TYPED

public static final int TYPE_TYPED
See Also:
Constant Field Values
Method Detail

setMessageStateListener

public void setMessageStateListener(Message.MessageStateListener listener)

removeMessageStateListener

public Message.MessageStateListener removeMessageStateListener()

getConstraintKey

public java.lang.String getConstraintKey()

toAny

public Any toAny()

toStructuredEvent

public StructuredEvent toStructuredEvent()

toTypedEvent

public Property[] toTypedEvent()
                        throws NoTranslationException
Throws:
NoTranslationException

getInitialFilterStage

public FilterStage getInitialFilterStage()

extractValue

public EvaluationResult extractValue(EvaluationContext context,
                                     ComponentName componentRootNode,
                                     RuntimeVariable runtimeVariable)
                              throws EvaluationException
Throws:
EvaluationException

extractFilterableData

public EvaluationResult extractFilterableData(EvaluationContext context,
                                              ComponentName componentRootNode,
                                              java.lang.String variable)
                                       throws EvaluationException
Throws:
EvaluationException

extractVariableHeader

public EvaluationResult extractVariableHeader(EvaluationContext context,
                                              ComponentName componentRootNode,
                                              java.lang.String variable)
                                       throws EvaluationException
Throws:
EvaluationException

extractValue

public EvaluationResult extractValue(EvaluationContext evaluationContext,
                                     ComponentName componentRootNode)
                              throws EvaluationException
Throws:
EvaluationException

hasStartTime

public boolean hasStartTime()

getStartTime

public long getStartTime()

hasStopTime

public boolean hasStopTime()

getStopTime

public long getStopTime()

hasTimeout

public boolean hasTimeout()

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

match

public boolean match(FilterStage filterStage)

match

public boolean match(MappingFilter filter,
                     AnyHolder value)
              throws UnsupportedFilterableData
Throws:
UnsupportedFilterableData

clone

public java.lang.Object clone()

isInvalid

public boolean isInvalid()

getType

public int getType()

actionTimeout

public void actionTimeout()

getReceiveTimestamp

public long getReceiveTimestamp()