Project JXTA

net.jxta.pipe
Class OutputPipeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.jxta.pipe.OutputPipeEvent
All Implemented Interfaces:
Serializable

public class OutputPipeEvent
extends EventObject

Container for OutputPipeEvent events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
OutputPipeEvent(Object source, OutputPipe outputpipe, String pipeID, int queryID)
          Creates a new event
 
Method Summary
 OutputPipe getOutputPipe()
          Returns the output associated with the event
 String getPipeID()
          Returns The pipe id associated with this output pipe event
 int getQueryID()
          Returns The query id associated with the response returned in this 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

OutputPipeEvent

public OutputPipeEvent(Object source,
                       OutputPipe outputpipe,
                       String pipeID,
                       int queryID)
Creates a new event

Parameters:
source - The PipeService which created this event.
outputpipe - the outputpipe object
pipeID - URI containing the Pipe unique identifier.
queryID - The query id associated with the response returned in this event
Method Detail

getOutputPipe

public OutputPipe getOutputPipe()
Returns the output associated with the event

Returns:
OutPutPipe

getPipeID

public String getPipeID()
Returns The pipe id associated with this output pipe event

Returns:
pipe id associated with this output pipe event

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