p2ps.pipe
Class PipeConnectedEvent
java.lang.Object
java.util.EventObject
p2ps.pipe.PipeConnectedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class PipeConnectedEvent
- extends java.util.EventObject
The event that is generated when a outpipe is successfully connected. Note that
a pipe connection might have multiple failures before it succeeds.
- Version:
- $Revision: 295 $
- Author:
- Ian Wang
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| 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 |
PipeConnectedEvent
public PipeConnectedEvent(java.lang.Object source,
OutputPipe pipe,
PipeAdvertisement pipead)
- Constructs a successful pipe connection event
getOutputPipe
public OutputPipe getOutputPipe()
- Returns:
- the successfully connected output pipe
getPipeAdvertisement
public PipeAdvertisement getPipeAdvertisement()
- Returns:
- the advertisement the output pipe was connected using