net.jxta.peer
Class PeerInfoEvent
java.lang.Object
java.util.EventObject
net.jxta.peer.PeerInfoEvent
- All Implemented Interfaces:
- Serializable
public class PeerInfoEvent
- extends EventObject
Container for PeerInfoEvent events.
- See Also:
- Serialized Form
PeerInfoEvent
public PeerInfoEvent(Object source,
PeerInfoResponseMessage piResp,
int queryid)
- Creates a new event
- Parameters:
source
- The object on which the Event initially occurredqueryid
- The query id associated with the response returned in
this eventpiResp
- PeerInfoResponseMessage received- See Also:
ResolverResponseMsg
getPeerInfoResponseMessage
public PeerInfoResponseMessage getPeerInfoResponseMessage()
- Returns the response associated with the event
- Returns:
- PeerInfoResponseMessage
- See Also:
ResolverResponseMsg
getQueryID
public int getQueryID()
- Returns The query id associated with the response returned in this
event
- Returns:
- query id associated with the response