org.jboss.messaging.core.distributed
Interface Distributed

All Known Implementing Classes:
DistributedQueue, DistributedTopic, Replicator, ReplicatorOutput

public interface Distributed

Version:
$Revision: 464 $ $Id: Distributed.java 464 2005-11-22 06:46:49Z ovidiu $
Author:
Ovidiu Feodorov

Method Summary
 void close()
           
 Peer getPeer()
           
 void join()
          Connects this peer to the distributed destination.
 void leave()
          Stops this peer and disconnects it from the distributed destination.
 

Method Detail

join

public void join()
          throws DistributedException
Connects this peer to the distributed destination.

Throws:
DistributedException - - a wrapper for exceptions thrown by the distributed layer.

leave

public void leave()
           throws DistributedException
Stops this peer and disconnects it from the distributed destination.

Throws:
DistributedException - - a wrapper for exceptions thrown by the distributed layer.

close

public void close()
           throws DistributedException
Throws:
DistributedException

getPeer

public Peer getPeer()


Copyright © 2006 JBoss Inc. All Rights Reserved.