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 class
Holds 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 String
Returns 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 boolean
Tests whether this object supports a specific Slice interface.default void
Tests whether this object can be reached.static String
Returns 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
- TheCurrent
object for the invocation.- Returns:
true
if this object has the interface specified bys
or derives from the interface specified bys
.
-
ice_ping
Tests whether this object can be reached.- Parameters:
current
- TheCurrent
object for the invocation.
-
ice_ids
Returns the Slice type IDs of the interfaces supported by this object.- Parameters:
current
- TheCurrent
object 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
- TheCurrent
object 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:
-