Ice._ProcessOperations Maven / Gradle / Ivy
Show all versions of ice-compat Show documentation
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Process.ice'
//
// Warning: do not edit this file.
//
//
//
package 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.
*
**/
public interface _ProcessOperations
{
/**
* Initiate a graceful shut-down.
*
* @see Communicator#shutdown
*
* @param current The Current object for the invocation.
**/
void shutdown(Current current);
/**
* Write a message on the process' stdout or stderr.
*
* @param message The message.
*
* @param fd 1 for stdout, 2 for stderr.
*
* @param current The Current object for the invocation.
**/
void writeMessage(String message, int fd, Current current);
}