- All Known Subinterfaces:
AdapterObserver
,Admin
,AdminSession
,ApplicationObserver
,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 class
Holds 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 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 alphabetical order.
-
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.
-
dispatch
Dispatches an incoming request and returns the corresponding outgoing response.- Parameters:
request
- The incoming request.- Returns:
- The outgoing response.
- Throws:
UserException
- If aUserException
is thrown, Ice will marshal it as the response payload.
-