- 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.
The Slice compiler generated this skeleton interface from Slice interface ::IceBox::ServiceObserver.
-
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.voidservicesStarted(String[] services, Current current) Receives the names of the services that were started.voidservicesStopped(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:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-