- All Superinterfaces:
Object
Monitors dynamically-registered object adapters.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::IceGrid::AdapterObserver.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptionvoidadapterAdded(AdapterInfo info, Current current) Notifies the observer that a dynamically-registered adapter was added.voidadapterInit(AdapterInfo[] adpts, Current current) Provides the initial list of dynamically registered adapters to the observer.voidadapterRemoved(String id, Current current) Notifies the observer that a dynamically-registered adapter was removed.voidadapterUpdated(AdapterInfo info, Current current) default 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.
-
Method Details
-
adapterInit
Provides the initial list of dynamically registered adapters to the observer.- Parameters:
adpts- The adapters that were dynamically registered with the registry.current- the Current object of the incoming request
-
adapterAdded
Notifies the observer that a dynamically-registered adapter was added.- Parameters:
info- The details of the new adapter.current- the Current object of the incoming request
-
adapterUpdated
- Parameters:
info- The details of the updated adapter.current- the Current object of the incoming request
-
adapterRemoved
Notifies the observer that a dynamically-registered adapter was removed.- Parameters:
id- The ID of the removed adapter.current- the Current object of the incoming request
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::AdapterObserver"
-
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.
-