Ice 3.9
Slice API Reference
Loading...
Searching...
No Matches
Process.ice
1// Copyright (c) ZeroC, Inc.
2
3#pragma once
4
5[["cpp:dll-export:ICE_API"]]
6[["cpp:doxygen:include:Ice/Ice.h"]]
7[["cpp:header-ext:h"]]
8
9[["js:module:@zeroc/ice"]]
10
11#include "LocatorRegistry.ice"
12
13#ifdef __ICERPC__
14["cs:identifier:IceRpc.Ice"]
15#endif
16["java:identifier:com.zeroc.Ice"]
17module Ice
18{
19 /// A server application managed by a locator implementation such as IceGrid hosts a Process object and registers a
20 /// proxy to this object with the locator registry. See {@link LocatorRegistry::setServerProcessProxy}.
21 interface Process
22 {
23 /// Initiates a graceful shutdown of the server application.
24 void shutdown();
25
26 /// Writes a message on the server application's stdout or stderr.
27 /// @param message The message to write.
28 /// @param fd 1 for stdout, 2 for stderr.
29 void writeMessage(string message, int fd);
30 }
31}
void writeMessage(string message, int fd)
Writes a message on the server application's stdout or stderr.
A server application managed by a locator implementation such as IceGrid hosts a Process object and r...
Definition Process.ice:22
void shutdown()
Initiates a graceful shutdown of the server application.
The Ice RPC framework.