net.jxta.pipe
Class OutputPipeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--net.jxta.pipe.OutputPipeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class OutputPipeEvent
- extends java.util.EventObject
Container for OutputPipeEvent events.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
OutputPipeEvent(java.lang.Object source,
OutputPipe outputpipe,
java.lang.String pipeID,
int queryID)
Creates a new event |
|
Method Summary |
OutputPipe |
getOutputPipe()
Returns the output associated with the event |
java.lang.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 |
OutputPipeEvent
public OutputPipeEvent(java.lang.Object source,
OutputPipe outputpipe,
java.lang.String pipeID,
int queryID)
- Creates a new event
- Parameters:
source - The object on which the Event initially occurredoutputpipe - 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 java.lang.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