net.jxta.pipe
Class OutputPipeEvent
java.lang.Object
java.util.EventObject
net.jxta.pipe.OutputPipeEvent
- All Implemented Interfaces:
- Serializable
public class OutputPipeEvent
- extends EventObject
Container for OutputPipeEvent events.
- See Also:
- Serialized Form
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 |
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 objectpipeID
- URI containing the Pipe unique identifier.queryID
- The query id associated with the response returned in this event
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