Ice::Process

Overview

interface Process

An administrative interface for process management. Managed servers must implement this interface and invoke ObjectAdapter::setProcess to register the process proxy.

Note

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.

Operation Index

shutdown

Initiate a graceful shutdown.

writeMessage

Write a message on the process' stdout or stderr.

shutdown

void shutdown();

Initiate a graceful shutdown.

writeMessage

void writeMessage(string message,
    int fd);

Write a message on the process' stdout or stderr.

Parameters

message

The message.

fd

1 for stdout, 2 for stderr.