|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.messaging.core.impl.MessagingQueue.DistributorWrapper
protected class MessagingQueue.DistributorWrapper
Constructor Summary | |
---|---|
protected |
MessagingQueue.DistributorWrapper(Distributor distributor)
|
Method Summary | |
---|---|
boolean |
add(Receiver receiver)
Add a local receiver to this distributor. |
void |
clear()
Remove all receivers. |
boolean |
contains(Receiver receiver)
Does the distributor already contain the specified Receiver? |
int |
getNumberOfReceivers()
|
Delivery |
handle(DeliveryObserver observer,
MessageReference reference,
Transaction tx)
A receiver can return an active, "done" or null delivery. |
java.util.Iterator |
iterator()
|
boolean |
remove(Receiver receiver)
Remove a local receiver from this distributor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MessagingQueue.DistributorWrapper(Distributor distributor)
Method Detail |
---|
public Delivery handle(DeliveryObserver observer, MessageReference reference, Transaction tx)
Receiver
handle
in interface Receiver
observer
- - the component the delivery should be acknowledged to.Delivery
,
DeliveryObserver
public boolean add(Receiver receiver)
Distributor
add
in interface Distributor
public void clear()
Distributor
clear
in interface Distributor
public boolean contains(Receiver receiver)
Distributor
contains
in interface Distributor
public int getNumberOfReceivers()
getNumberOfReceivers
in interface Distributor
public java.util.Iterator iterator()
iterator
in interface Distributor
public boolean remove(Receiver receiver)
Distributor
remove
in interface Distributor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |