java.lang.Object
net.i2p.i2pcontrol.servlets.jsonrpc2handlers.RouterManagerHandler.UpdateWrapperManagerTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
RouterManagerHandler
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionUpdateWrapperManagerTask(int exitCode) Holds the exit code to report to the wrapper manager when run.Method Summary
All MethodsModifier and TypeMethodDescriptionvoidrun()Tell the wrapper the router has stopped, so it restarts it.
Field Details
_exitCode
private int _exitCodeExit code to use when the router stops.
Constructor Details
UpdateWrapperManagerTask
public UpdateWrapperManagerTask(int exitCode) Holds the exit code to report to the wrapper manager when run.- Parameters:
exitCode- the status the wrapper manager should see on the next restart
Method Details
run