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; /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. */ abstract writeMessage( message: string, fd: number, current: Ice.Current, ): Ice.OperationResult; } /** * 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. */ class ProcessPrx extends Ice.ObjectPrx { /** * Initiate a graceful shut-down. * * @see Communicator#shutdown */ shutdown(ctx?: Ice.Context): Ice.AsyncResult; /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. */ writeMessage( message: string, fd: number, ctx?: Ice.Context, ): Ice.AsyncResult; } } } export {Ice} from './Ice.ns';