dsto.dfc.swt.forms
Class AbstractPipe
java.lang.Object
dsto.dfc.swt.forms.AbstractPipe
- All Implemented Interfaces:
- Pipe, Disposable
- Direct Known Subclasses:
- AbstractBiDiPipe, BeanEndpoint, MultiPipe, PipeEndpoint
public abstract class AbstractPipe
- extends Object
- implements Pipe
Base class for the Pipe interface. Provides parent and error handling
implementations.
- Version:
- $Revision$
- Author:
- mpp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected Pipe parent
errorHandler
protected PipeErrorHandler errorHandler
AbstractPipe
public AbstractPipe()
dispose
public void dispose()
- Default implementation: does nothing.
- Specified by:
dispose
in interface Pipe
- Specified by:
dispose
in interface Disposable
setParent
public void setParent(Pipe parent)
- Description copied from interface:
Pipe
- Set the parent pipe. The child should push new values back up the chain
by calling its parent's
Pipe.output(Object)
method.
- Specified by:
setParent
in interface Pipe
getParent
public Pipe getParent()
- Description copied from interface:
Pipe
- Get the parent pipe.
- Specified by:
getParent
in interface Pipe
- See Also:
Pipe.setParent(Pipe)
setErrorHandler
public void setErrorHandler(PipeErrorHandler errorHandler)
- Description copied from interface:
Pipe
- Set the handler for any errors encountered while loading/unloading the
pipe. This will also set the handler for all children.
- Specified by:
setErrorHandler
in interface Pipe
- See Also:
PipeErrorHandler
handlePipeError
protected void handlePipeError(String message)
Copyright © 2008 Commonwealth of Australia