- All Superinterfaces:
Object
Monitors well-known objects that are added, updated or removed using
AdminPrx
.-
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 String
Gets the type ID of the associated Slice interface.void
objectAdded
(ObjectInfo info, Current current) Notifies the observer that a well-known object was added.void
objectInit
(ObjectInfo[] objects, Current current) Provides the initial list of well-known objects to the observer.void
objectRemoved
(Identity id, Current current) Notifies the observer that a well-known object was removed.void
objectUpdated
(ObjectInfo info, Current current) Notifies the observer that a well-known object was updated.
-
Method Details
-
objectInit
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.
-
objectAdded
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.
-
objectUpdated
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.
-
objectRemoved
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.
-
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:
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.
-