- All Known Subinterfaces:
AdapterObserver,Admin,AdminSession,ApplicationObserver,AsyncAdapterObserver,AsyncAdmin,AsyncAdminSession,AsyncApplicationObserver,AsyncFileIterator,AsyncFileParser,AsyncFinder,AsyncIdentitySet,AsyncLocator,AsyncLocator,AsyncLocatorFinder,AsyncLocatorRegistry,AsyncLoggerAdmin,AsyncMetricsAdmin,AsyncNodeObserver,AsyncObjectObserver,AsyncPermissionsVerifier,AsyncProcess,AsyncPropertiesAdmin,AsyncQuery,AsyncRegistry,AsyncRegistryObserver,AsyncRemoteLogger,AsyncRouter,AsyncRouter,AsyncRouterFinder,AsyncServiceManager,AsyncServiceObserver,AsyncSession,AsyncSession,AsyncSessionControl,AsyncSessionManager,AsyncSSLPermissionsVerifier,AsyncSSLSessionManager,AsyncStringSet,AsyncTopic,AsyncTopicManager,AsyncUserAccountMapper,Blobject,BlobjectAsync,FileIterator,FileParser,Finder,IdentitySet,Locator,Locator,LocatorFinder,LocatorRegistry,LoggerAdmin,MetricsAdmin,NodeObserver,ObjectObserver,PermissionsVerifier,Process,PropertiesAdmin,Query,Registry,RegistryObserver,RemoteLogger,Router,Router,RouterFinder,ServiceManager,ServiceObserver,Session,Session,SessionControl,SessionManager,SSLPermissionsVerifier,SSLSessionManager,StringSet,Topic,TopicManager,UserAccountMapper
- All Known Implementing Classes:
ErrorObserverMiddleware,NativePropertiesAdmin
public interface Object
The base interface for servants.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classHolds the results of a call toice_invoke. -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request and returns the corresponding outgoing response.default StringReturns the type ID of the most-derived Slice interface supported by this object.default String[]Returns the Slice interfaces supported by this object as a list of Slice type IDs.default booleanTests whether this object supports a specific Slice interface.default voidTests whether this object can be reached.static StringReturns the type ID of the associated Slice interface.
-
Method Details
-
ice_isA
Tests whether this object supports a specific Slice interface.- Parameters:
typeId- the type ID of the Slice interface to test againstcurrent- theCurrentobject of the incoming request- Returns:
trueif this object implements the Slice interface specified bytypeIdor implements a derived interface,falseotherwise
-
ice_ping
Tests whether this object can be reached.- Parameters:
current- theCurrentobject of the incoming request
-
ice_ids
Returns the Slice interfaces supported by this object as a list of Slice type IDs.- Parameters:
current- theCurrentobject of the incoming request- Returns:
- the Slice type IDs of the interfaces supported by this object, in alphabetical order
-
ice_id
Returns the type ID of the most-derived Slice interface supported by this object.- Parameters:
current- theCurrentobject of the incoming request- Returns:
- the Slice type ID of the most-derived interface
-
ice_staticId
Returns the type ID of the associated Slice interface.- Returns:
- The return value is always
"::Ice::Object".
-
dispatch
Dispatches an incoming request and returns the corresponding outgoing response.- Parameters:
request- the incoming request- Returns:
- a
CompletionStagethat will complete with the outgoing response - Throws:
UserException- If aUserExceptionis thrown, Ice will marshal it as the response payload.
-