September 2002
Intermediate to advanced
416 pages
14h 46m
English
RendezVousMonitor
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); }
net.jxta.util.SimpleRdvMonitor
RendezVousService.setMonitor()
RendezVousService.setMonitor()
Read now
Unlock full access