p2ps.pipe
Class PipeConnectFailureEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byp2ps.pipe.PipeConnectFailureEvent
All Implemented Interfaces:
java.io.Serializable

public class PipeConnectFailureEvent
extends java.util.EventObject

The event that is generated when a outpipe fails to connect. Note that a pipe connection might have multiple failures before it succeeds.

Version:
$Revision: 295 $
Author:
Ian Wang
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PipeConnectFailureEvent(java.lang.Object source, java.lang.Exception except, PipeAdvertisement pipead)
          Constructs a failed pipe connection event
 
Method Summary
 java.lang.Exception getException()
           
 PipeAdvertisement getPipeAdvertisement()
           
 
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

PipeConnectFailureEvent

public PipeConnectFailureEvent(java.lang.Object source,
                               java.lang.Exception except,
                               PipeAdvertisement pipead)
Constructs a failed pipe connection event

Method Detail

getPipeAdvertisement

public PipeAdvertisement getPipeAdvertisement()
Returns:
the advertisement being used to connect the output pipe

getException

public java.lang.Exception getException()
Returns:
the exception for the generated by the failure (null if none)