org.erights.e.elib.ref
Class Redirector
java.lang.Object
|
+--org.erights.e.elib.ref.Redirector
- All Implemented Interfaces:
- DeadManSwitch, Marker, OneArgFunc, PassByProxy
- public class Redirector
- extends Object
- implements DeadManSwitch, OneArgFunc, PassByProxy
Untamed: Wraps a Resolver in a way suitable for inclusion as an argument in a
__whenMoreResolved message.
Turns the first response such an argument may get into a resolution of the
Resolver, and then become inoperative.
- Author:
- Mark S. Miller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myOptResolver
private Resolver myOptResolver
Redirector
public Redirector(Resolver resolver)
- Enabled:
run
public Object run(Object arg)
- Enabled: Resolve the Resolver to the arg.
- Specified by:
run
in interface OneArgFunc
__reactToLostClient
public void __reactToLostClient(Throwable problem)
- Enabled: Smash the Resolver with the arg.
- Specified by:
__reactToLostClient
in interface DeadManSwitch
- See Also:
org.erights.e.elib.prim.MirandaMethods#__reactToLostClient
comments?