Name

PeerInfoListener

Synopsis

Objects that implement this interface are registered with the peer information service; when the peer information service discovers a new peer information advertisement, the peerInfoResponse( ) method will be called.

public interface PeerInfoListener extends java.util.EventListener {
// Public Instance Methods
   public abstract void peerInfoResponse(PeerInfoEvent event);
}

Passed To

PeerInfoService.{addPeerInfoListener(), getRemotePeerInfo(), removePeerInfoListener()}

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.