- 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)
.-
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 String
Gets the type ID of the associated Slice interface.void
Initiates a graceful shutdown of the server application.void
writeMessage
(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:
dispatch
in interfaceObject
- Parameters:
request
- the incoming request- Returns:
- the outgoing response
- Throws:
UserException
- if aUserException
is thrown, Ice will marshal it as the response payload.
-