// ********************************************************************** // // Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** // Ice version 3.4.1 package Ice; // <auto-generated> // // Generated from file `Process.ice' // // Warning: do not edit this file. // // </auto-generated> /** * An administrative interface for process management. Managed servers must * implement this interface. * * <p class="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. * **/ public interface ProcessPrx extends Ice.ObjectPrx { /** * Initiate a graceful shut-down. * * @see Communicator#shutdown * **/ public void shutdown(); /** * Initiate a graceful shut-down. * * @see Communicator#shutdown * * @param __ctx The Context map to send with the invocation. **/ public void shutdown(java.util.Map<String, String> __ctx); /** * Initiate a graceful shut-down. * * @return The asynchronous result object. **/ public Ice.AsyncResult begin_shutdown(); /** * Initiate a graceful shut-down. * * @param __ctx The Context map to send with the invocation. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_shutdown(java.util.Map<String, String> __ctx); /** * Initiate a graceful shut-down. * * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_shutdown(Ice.Callback __cb); /** * Initiate a graceful shut-down. * * @param __ctx The Context map to send with the invocation. * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_shutdown(java.util.Map<String, String> __ctx, Ice.Callback __cb); /** * Initiate a graceful shut-down. * * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_shutdown(Callback_Process_shutdown __cb); /** * Initiate a graceful shut-down. * * @param __ctx The Context map to send with the invocation. * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_shutdown(java.util.Map<String, String> __ctx, Callback_Process_shutdown __cb); /** * Initiate a graceful shut-down. * * @param __result The asynchronous result object. * @see Communicator#shutdown * **/ public void end_shutdown(Ice.AsyncResult __result); /** * Initiate a graceful shut-down. * * @param __cb The callback object for the operation. **/ public boolean shutdown_async(AMI_Process_shutdown __cb); /** * Initiate a graceful shut-down. * * @param __cb The callback object for the operation. * @param __ctx The Context map to send with the invocation. **/ public boolean shutdown_async(AMI_Process_shutdown __cb, java.util.Map<String, String> __ctx); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * **/ public void writeMessage(String message, int fd); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __ctx The Context map to send with the invocation. **/ public void writeMessage(String message, int fd, java.util.Map<String, String> __ctx); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @return The asynchronous result object. **/ public Ice.AsyncResult begin_writeMessage(String message, int fd); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __ctx The Context map to send with the invocation. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_writeMessage(String message, int fd, java.util.Map<String, String> __ctx); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_writeMessage(String message, int fd, Ice.Callback __cb); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __ctx The Context map to send with the invocation. * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_writeMessage(String message, int fd, java.util.Map<String, String> __ctx, Ice.Callback __cb); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_writeMessage(String message, int fd, Callback_Process_writeMessage __cb); /** * Write a message on the process' stdout or stderr. * * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __ctx The Context map to send with the invocation. * @param __cb The asynchronous callback object. * @return The asynchronous result object. **/ public Ice.AsyncResult begin_writeMessage(String message, int fd, java.util.Map<String, String> __ctx, Callback_Process_writeMessage __cb); /** * Write a message on the process' stdout or stderr. * * @param __result The asynchronous result object. **/ public void end_writeMessage(Ice.AsyncResult __result); /** * Write a message on the process' stdout or stderr. * * @param __cb The callback object for the operation. * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * **/ public boolean writeMessage_async(AMI_Process_writeMessage __cb, String message, int fd); /** * Write a message on the process' stdout or stderr. * * @param __cb The callback object for the operation. * @param message The message. * * @param fd 1 for stdout, 2 for stderr. * * @param __ctx The Context map to send with the invocation. **/ public boolean writeMessage_async(AMI_Process_writeMessage __cb, String message, int fd, java.util.Map<String, String> __ctx); }