Name
SimpleRdvManager
Synopsis
This class is a simple implementation of the rendezvous manager. It accepts all connections, granting them a 30-minute lease. This class is not used by the JXTA core; it is provided as an example.
public class SimpleRdvManager implements net.jxta.rendezvous.RendezVousManager, net.jxta.impl.util.JxtaTimerHandler { // Public Constructors public SimpleRdvManager(net.jxta.peergroup.PeerGroup g); // Public Constants public static final long PollDelay; // =3600000 // Public Instance Methods public void signal(net.jxta.impl.util.JxtaTimer t); // empty // Methods Implementing RendezVousManager public long requestConnection(net.jxta.document.Advertisement adv); }
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.