expectj
Class AbstractSpawnable
java.lang.Object
   expectj.AbstractSpawnable
expectj.AbstractSpawnable
- All Implemented Interfaces: 
- Spawnable
- Direct Known Subclasses: 
- ProcessSpawn, SshSpawn
- public abstract class AbstractSpawnable 
- extends Object- implements Spawnable
Base class for spawnables providing an onClose() method that should
 be called on close.
- Author:
- johan.walles@gmail.com
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
AbstractSpawnable
public AbstractSpawnable()
setCloseListener
public void setCloseListener(Spawnable.CloseListener closeListener)
- Description copied from interface: Spawnable
- Register a listener that will be called when this spawnable closes.
 
- 
- Specified by:
- setCloseListenerin interface- Spawnable
 
- 
- Parameters:
- closeListener- The listener that will be notified when this
 spawnable closes.
 
onClose
protected final void onClose()
- Call the close listener if we have one.
 
- 
 
- 
 
Copyright © 2010. All Rights Reserved.