org.jboss.messaging.core.plugin.postoffice.cluster
Interface ClusterRouter

All Superinterfaces:
Distributor, Receiver, Router
All Known Implementing Classes:
DefaultRouter, RoundRobinRouter

public interface ClusterRouter
extends Router

A ClusterRouter

Version:
$Revision: 2421 $ $Id: ClusterRouter.java 2421 2007-02-25 00:06:06Z timfox $
Author:
Tim Fox

Method Summary
 boolean add(Receiver receiver)
          Add a local receiver to this distributor.
 Queue getLocalQueue()
           
 java.util.List getQueues()
           
 
Methods inherited from interface org.jboss.messaging.core.Distributor
clear, contains, getNumberOfReceivers, iterator, remove
 
Methods inherited from interface org.jboss.messaging.core.Receiver
handle
 

Method Detail

getQueues

public java.util.List getQueues()

getLocalQueue

public Queue getLocalQueue()

add

public boolean add(Receiver receiver)
Description copied from interface: Distributor
Add a local receiver to this distributor.

Specified by:
add in interface Distributor
Returns:
true if the distributor did not already contain the specified receiver and the receiver was added to the distributor, false otherwise.


Copyright © 2006 JBoss Inc. All Rights Reserved.