- 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 TypeMethodDescriptionadapterAddedAsync(AdapterInfo info, Current current) Notifies the observer that a dynamically-registered adapter was added.adapterInitAsync(AdapterInfo[] adpts, Current current) Provides the initial list of dynamically registered adapters to the observer.adapterRemovedAsync(String id, Current current) Notifies the observer that a dynamically-registered adapter was removed.adapterUpdatedAsync(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
-
adapterInitAsync
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- Returns:
- a completion stage that the servant will complete when the invocation completes
-
adapterAddedAsync
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- Returns:
- a completion stage that the servant will complete when the invocation completes
-
adapterUpdatedAsync
- Parameters:
info- The details of the updated adapter.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
adapterRemovedAsync
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- Returns:
- a completion stage that the servant will complete when the invocation completes
-
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.
-