org.objectweb.dream
Interface Push

All Known Implementing Classes:
PushPushDreamComponent

public interface Push

Common Push interface for Dream components This interface defines a method push that allows a component to give a message to another component.


Field Summary
static String IN_PUSH_ITF_NAME
          The commonly used name to refer to this interface when it is used as an input.
static String OUT_PUSH_ITF_NAME
          The commonly used name to refer to this interface when it is used as an output.
 
Method Summary
 void push(Message message, Map context)
          Gives a message to a component.
 

Field Detail

OUT_PUSH_ITF_NAME

public static final String OUT_PUSH_ITF_NAME
The commonly used name to refer to this interface when it is used as an output.

See Also:
Constant Field Values

IN_PUSH_ITF_NAME

public static final String IN_PUSH_ITF_NAME
The commonly used name to refer to this interface when it is used as an input.

See Also:
Constant Field Values
Method Detail

push

public void push(Message message,
                 Map context)
          throws PushException
Gives a message to a component.

Parameters:
message - the message to give to the component.
context - a general purpose context map. can be null.
Throws:
PushException - if an exception occurs.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.