import {Ice} from 'ice'; declare module './Ice.ns' { namespace Ice { /** * An administrative interface for process management. Managed servers must * implement this interface. * *
A servant implementing this interface is a potential target
* for denial-of-service attacks, therefore proper security precautions
* should be taken. For example, the servant can use a UUID to make its
* identity harder to guess, and be registered in an object adapter with
* a secured endpoint.
*/
abstract class Process extends Ice.Object {
/**
* Initiate a graceful shut-down.
*
* @see Communicator#shutdown
*/
abstract shutdown(current: Ice.Current): Ice.OperationResult A servant implementing this interface is a potential target
* for denial-of-service attacks, therefore proper security precautions
* should be taken. For example, the servant can use a UUID to make its
* identity harder to guess, and be registered in an object adapter with
* a secured endpoint.
*/
class ProcessPrx extends Ice.ObjectPrx {
/**
* Initiate a graceful shut-down.
*
* @see Communicator#shutdown
*/
shutdown(ctx?: Ice.Context): Ice.AsyncResult