September 2002
Intermediate to advanced
416 pages
14h 46m
English
PeerInfoEvent
PeerInfoEvent
objects are sent to
PeerInfoListener objects that are registered to be
notified when new peer information advertisements are available. The
event contains the advertisement itself along with a query ID; the
query ID can be tested against the return value from the peer
information service’s getRemotePeerInfo( ) method to determine if this particular event matches a
request that the application has made.
public class PeerInfoEvent extends java.util.EventObject { // Public Constructors public PeerInfoEvent(Object source, net.jxta.protocol.PeerInfoResponseMessage piResp, int queryid); // Public Instance Methods public net.jxta.protocol.PeerInfoResponseMessage getPPeerInfoResponseMessage(); public int getQueryID(); }
PeerInfoListener.peerInfoResponse()
Read now
Unlock full access