Defines methods for shutting down and restarting the server.
This utility also keeps a registry of things to call when shutting down zope. You can register using this interface or the zcml on the global ServerController instance.
There are no attributes or fields specified.
restart(time=0)
Restart the server.
The time should be greater-equal 0.
If the time is 0, then we do a hard shutdown, i.e. closing all sockets without waiting for tasks to complete.
If the time is not 0, then we will give the tasks time seconds to finish before shutting down.
shutdown(time=0)
Shutdown the server.
The time should be greater-equal 0.
If the time is 0, then we do a hard shutdown, i.e. closing all sockets without waiting for tasks to complete.
If the time is not 0, then we will give the tasks time seconds to finish before shutting down.