net.jxta.rendezvous
Interface RendezvousListener
- All Superinterfaces:
- EventListener
public interface RendezvousListener
- extends EventListener
The listener interface for receiving RendezVousService events.
The following example illustrate how to implement a
RendezvousListener
:
public class MyApp implements RendezvousListener {
..
rendezvous = mygroup.getRendezVousService();
rendezvous.addListener(this);
..
..
..
public void rendezvousEvent ( RendezvousEvent event ){
if( event.getType() == event.RDVCONNECT){
..
}
}
}
rendezvousEvent
void rendezvousEvent(RendezvousEvent event)
- Called when an event occurs for the Rendezvous service
- Parameters:
event
- the rendezvous event