java.lang.Object
net.i2p.router.web.WrapperListener.SignalHandler
- All Implemented Interfaces:
WrapperEventListener
- Enclosing class:
WrapperListener
Catch signals. The wrapper will potentially forward HUP, USR1, and USR2. But USR1 and USR2 are used by the JVM GC and cannot be trapped. So we will only get HUP.
Field Summary
FieldsFields inherited from interface WrapperEventListener
EVENT_FLAG_CONTROL, EVENT_FLAG_CORE, EVENT_FLAG_LOGGING, EVENT_FLAG_REMOTE_CONTROL, EVENT_FLAG_SERVICE, EVENT_FLAG_USERConstructor Summary
ConstructorsMethod Summary
All Methods
Field Details
_ctxt
The router being signalled.
Constructor Details
SignalHandler
Records the router to stop.- Parameters:
ctx- the router being signalled
Method Details
fired
- Specified by:
firedin interfaceWrapperEventListener