fulmine.util.io
Class DelegatingSelectionKeyTask
java.lang.Object
fulmine.util.io.AbstractSelectionKeyTask
fulmine.util.io.DelegatingSelectionKeyTask
- All Implemented Interfaces:
- IDestroyable, ISelectionKeyTask
public final class DelegatingSelectionKeyTask
- extends AbstractSelectionKeyTask
Delegates the ISelectionKeyTask.run()
method to a
ISelectionKeyTask
.
- Author:
- Ramon Servadei
Method Summary |
void |
destroy()
This is called when the object is being removed from application use. |
void |
run()
Run the task associated with the operation and selection key |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingSelectionKeyTask
public DelegatingSelectionKeyTask(ISelectionKeyTask delegate)
run
public void run()
- Description copied from interface:
ISelectionKeyTask
- Run the task associated with the operation and selection key
destroy
public void destroy()
- Description copied from interface:
IDestroyable
- This is called when the object is being removed from application use.
This releases all system resources and performs clean up prior to the
object becoming redundant. This operation is idempotent.
This method must not throw a RuntimeException
.
- Specified by:
destroy
in interface IDestroyable
- Overrides:
destroy
in class AbstractSelectionKeyTask
Copyright © 2007-2009. All Rights Reserved.