Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.messaging.core.distributed.replicator
Interface MultipleReceiversDelivery

All Superinterfaces:
  Delivery

public interface MultipleReceiversDelivery
extends Delivery

TODO Get rid of that. Not used anymore. A message delivery. It can be "done" or active.

Version:
  `$Revision: 1.2 $` $Id: MultipleReceiversDelivery.java,v 1.2 2005/12/03 04:12:30 ovidiu Exp $
Author:
  Ovidiu Feodorov, Tim Fox Added tx support

Method Summary
`void` | `add(java.lang.Object receiver)`
`boolean` | `cancelOnMessageRejection()`
`boolean` | `handle(Acknowledgment ack)`
`java.util.Iterator` | `iterator()` Return an iterator of direct receiver references or receiver IDs.
`boolean` | `remove(java.lang.Object receiver)`

Methods inherited from interface org.jboss.messaging.core.Delivery
`getObserver, getReference, isCancelled, isDone, isSelectorAccepted, setObserver`

Method Detail

### cancelOnMessageRejection

    public boolean cancelOnMessageRejection()

### handle

    public boolean handle(Acknowledgment ack)
                   throws java.lang.Throwable

  Returns:
    true if the acknowledgment was acted upon, false if it doesn't come from any receivers monitored by this delivery and it was ignored.
  Throws:
    `java.lang.Throwable`

### add

    public void add(java.lang.Object receiver)

  Parameters:
    `receiver` - either a direct reference or an ID of the receiver that is expected to send acknowledgments back.

### remove

    public boolean remove(java.lang.Object receiver)

  Parameters:
    `receiver` - either a direct reference or an ID of the receiver that is expected to send acknowledgments back.

### iterator

    public java.util.Iterator iterator()

  Return an iterator of direct receiver references or receiver IDs.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 JBoss Inc. All Rights Reserved.