- All Superinterfaces:
Object
Monitors well-known objects that are added, updated or removed using
AdminPrx.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::IceGrid::ObjectObserver.
-
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.objectAddedAsync(ObjectInfo info, Current current) Notifies the observer that a well-known object was added.objectInitAsync(ObjectInfo[] objects, Current current) Provides the initial list of well-known objects to the observer.objectRemovedAsync(Identity id, Current current) Notifies the observer that a well-known object was removed.objectUpdatedAsync(ObjectInfo info, Current current) Notifies the observer that a well-known object was updated.
-
Method Details
-
objectInitAsync
Provides the initial list of well-known objects to the observer.- Parameters:
objects- The well-known objects registered usingAdminPrx.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
objectAddedAsync
Notifies the observer that a well-known object was added.- Parameters:
info- The details of the new object.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
objectUpdatedAsync
Notifies the observer that a well-known object was updated.- Parameters:
info- The details of the updated object.current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
objectRemovedAsync
Notifies the observer that a well-known object was removed.- Parameters:
id- The identity of the removed object.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::ObjectObserver"
-
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.
-