Project JXTA

net.jxta.impl.pipe
Class PipeResolver.Event

java.lang.Object
  extended by java.util.EventObject
      extended by net.jxta.impl.pipe.PipeResolver.Event
All Implemented Interfaces:
Serializable
Enclosing class:
PipeResolver

static class PipeResolver.Event
extends EventObject

A pipe resolver event.


Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PipeResolver.Event(Object source, PeerID peerid, PipeID pipeid, String type, int queryid)
          Creates a new pipe resolution event
 
Method Summary
 PeerID getPeerID()
          Returns the peer associated with the event
 PipeID getPipeID()
          Returns the pipe associated with the event
 int getQueryID()
          Returns The query id associated with the response returned in this event
 String getType()
          Returns the type of the pipe that is associated with the event
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipeResolver.Event

public PipeResolver.Event(Object source,
                          PeerID peerid,
                          PipeID pipeid,
                          String type,
                          int queryid)
Creates a new pipe resolution event

Parameters:
source - The PipeResolver generating the event.
peerid - The peer on which the pipe was found
pipeid - the pipe which was found
type - the type of pipe which was found
queryid - The query id associated with the response returned in this event
Method Detail

getPeerID

public PeerID getPeerID()
Returns the peer associated with the event

Returns:
peerid

getPipeID

public PipeID getPipeID()
Returns the pipe associated with the event

Returns:
pipeid

getType

public String getType()
Returns the type of the pipe that is associated with the event

Returns:
type

getQueryID

public int getQueryID()
Returns The query id associated with the response returned in this event

Returns:
query id associated with the response

JXTA J2SE