- All Superinterfaces:
Object
Monitors dynamically-registered object adapters.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adapterAdded
(AdapterInfo info, Current current) Notifies the observer that a dynamically-registered adapter was added.void
adapterInit
(AdapterInfo[] adpts, Current current) Provides the initial list of dynamically registered adapters to the observer.void
adapterRemoved
(String id, Current current) Notifies the observer that a dynamically-registered adapter was removed.void
adapterUpdated
(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 String
Gets 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:
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.
-