Package com.zeroc.Ice
Interface Object
- All Known Subinterfaces:
AdapterObserver,Admin,AdminSession,ApplicationObserver,Blobject,BlobjectAsync,FileIterator,FileParser,FileServer,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:
DispatchInterceptor
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<OutputStream>ice_dispatch(Request request) Dispatches an invocation to a servant.default StringReturns the Slice type ID of the most-derived interface supported by this object.default String[]Returns the Slice type IDs of the interfaces supported by this object.default booleanTests whether this object supports a specific Slice interface.default voidTests whether this object can be reached.static StringReturns the Slice type ID of the interface supported by this object.
-
Method Details
-
ice_isA
Tests whether this object supports a specific Slice interface.- Parameters:
s- The type ID of the Slice interface to test against.current- TheCurrentobject for the invocation.- Returns:
trueif this object has the interface specified bysor derives from the interface specified bys.
-
ice_ping
Tests whether this object can be reached.- Parameters:
current- TheCurrentobject for the invocation.
-
ice_ids
Returns the Slice type IDs of the interfaces supported by this object.- Parameters:
current- TheCurrentobject for the invocation.- Returns:
- The Slice type IDs of the interfaces supported by this object, in base-to-derived
order. The first element of the returned array is always
::Ice::Object.
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.- Parameters:
current- TheCurrentobject for the invocation.- Returns:
- The Slice type ID of the most-derived interface.
-
ice_staticId
Returns the Slice type ID of the interface supported by this object.- Returns:
- The return value is always ::Ice::Object.
-
ice_dispatch
Dispatches an invocation to a servant. This method is used by dispatch interceptors to forward an invocation to a servant (or to another interceptor).- Parameters:
request- The details of the invocation.- Returns:
- A completion stage if the dispatched asynchronously, null otherwise.
- Throws:
UserException- A user exception that propagates out of this method will be marshaled as the result.- See Also:
-