- All Superinterfaces:
Object
Observes the status of services in an IceBox server.
Remarks: This interface is implemented by admin tools that monitor the IceBox server.
-
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
servicesStarted
(String[] services, Current current) Receives the names of the services that were started.void
servicesStopped
(String[] services, Current current) Receives the names of the services that were stopped.
-
Method Details
-
servicesStarted
Receives the names of the services that were started.- Parameters:
services
- The names of the services that were started.current
- The Current object of the incoming request.
-
servicesStopped
Receives the names of the services that were stopped.- Parameters:
services
- The names of the services that were stopped.current
- The Current object of the incoming request.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceBox::ServiceObserver"
-
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.
-