- All Superinterfaces:
Object
A server application managed by a locator implementation such as IceGrid hosts a Process object and registers a
proxy to this object with the locator registry. See
LocatorRegistryPrx.setServerProcessProxy(java.lang.String, com.zeroc.Ice.ProcessPrx).
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Ice::Process.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.static StringGets the type ID of the associated Slice interface.voidInitiates a graceful shutdown of the server application.voidwriteMessage(String message, int fd, Current current) Writes a message on the server application's stdout or stderr.
-
Method Details
-
shutdown
Initiates a graceful shutdown of the server application.- Parameters:
current- the Current object of the incoming request
-
writeMessage
Writes a message on the server application's stdout or stderr.- Parameters:
message- The message to write.fd- 1 for stdout, 2 for stderr.current- the Current object of the incoming request
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Ice::Process"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-