org.objectweb.dream.queue.keyed
Interface KeyedPush

All Known Implementing Classes:
KeyedIncomingHandlerBlockingImpl, KeyedIncomingHandlerExceptionThrowingImpl, KeyedIncomingHandlerNonBlockingImpl

public interface KeyedPush

Interface that allows pushing messages and associating keys with pushed messages.


Field Summary
static String IN_KEYED_PUSH_ITF_NAME
          The commonly used name to refer to this interface when it is used as an input.
static String OUT_KEYED_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, Object key)
          Gives a message to a component.
 

Field Detail

OUT_KEYED_PUSH_ITF_NAME

static final String OUT_KEYED_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_KEYED_PUSH_ITF_NAME

static final String IN_KEYED_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

void push(Message message,
          Object key)
          throws PushException
Gives a message to a component.

Parameters:
key - the key that is associated with the pushed message.
message - the message to give to the component.
Throws:
PushException - if an exception occurs.


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