Name

RendezVousService

Synopsis

This is the interface for the rendezvous service. Instances of this service are returned from the getRendezVousService( ) method of the PeerGroup class. A peer that retrieves the service is already connected to it; it can use the methods of this interface to connect other peers, set the rendezvous monitors, and so on. This is all normally handled transparently to end-user applications.

A peer starts acting as a rendezvous by calling the startRendezvous( ) method; the stopRendezVous( ) method is used by a peer that wants to cease acting as a rendezvous peer.

                  Returned By
public interface RendezVousService extends net.jxta.service.Service {
// Event Registration Methods (by event name)
   public abstract void addListener(RendezvousListener listener);
// Property Accessor Methods (by property name)
   public abstract java.util.Enumeration getConnectedPeers();  
   public abstract java.util.Enumeration getConnectedRendezVous();
   public abstract boolean isConnectedToRendezVous();  
   public abstract java.util.Enumeration getDisconnectedRendezVous();
   public abstract boolean isRendezVous();  
// Public Instance Methods
   public abstract void addPropagateListener(String name, net.jxta.endpoint.EndpointListener listener) 
       throws IOException;
   public abstract void connectToRendezVous(net.jxta.protocol.PeerAdvertisement adv) throws IOException;
   public abstract void connectToRendezVous(net.jxta.endpoint.EndpointAddress ...

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.