Name

RendezVousMonitor

Synopsis

The rendezvous manager is used to keep track of the peers that the rendezvous service has discovered. The monitor is responsible for taking action when peer status changes; in particular, it must publish advertisements sent to its connect( ) method.

public interface RendezVousMonitor {
// Public Instance Methods
   public abstract void connected(net.jxta.peer.PeerID peerID, long lease);
   public abstract void disconnected(net.jxta.peer.PeerID peerID);
   public abstract void discovered(net.jxta.document.Advertisement adv);
}

Implementations

net.jxta.util.SimpleRdvMonitor

Passed To

RendezVousService.setMonitor()

Returned By

RendezVousService.setMonitor()

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.