Package com.zeroc.Ice

Interface Object

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 Classes
    Modifier and Type
    Interface
    Description
    static class 
    Holds the results of a call to ice_invoke.
  • Method Summary

    Modifier and Type
    Method
    Description
    Dispatches an incoming request and returns the corresponding outgoing response.
    default String
    ice_id(Current current)
    Returns the type ID of the most-derived Slice interface supported by this object.
    default String[]
    ice_ids(Current current)
    Returns the Slice interfaces supported by this object as a list of Slice type IDs.
    default boolean
    ice_isA(String typeId, Current current)
    Tests whether this object supports a specific Slice interface.
    default void
    ice_ping(Current current)
    Tests whether this object can be reached.
    static String
    Returns the type ID of the associated Slice interface.
  • Method Details

    • ice_isA

      default boolean ice_isA(String typeId, Current current)
      Tests whether this object supports a specific Slice interface.
      Parameters:
      typeId - the type ID of the Slice interface to test against
      current - the Current object of the incoming request
      Returns:
      true if this object implements the Slice interface specified by typeId or implements a derived interface, false otherwise
    • ice_ping

      default void ice_ping(Current current)
      Tests whether this object can be reached.
      Parameters:
      current - the Current object of the incoming request
    • ice_ids

      default String[] ice_ids(Current current)
      Returns the Slice interfaces supported by this object as a list of Slice type IDs.
      Parameters:
      current - the Current object of the incoming request
      Returns:
      the Slice type IDs of the interfaces supported by this object, in alphabetical order
    • ice_id

      default String ice_id(Current current)
      Returns the type ID of the most-derived Slice interface supported by this object.
      Parameters:
      current - the Current object of the incoming request
      Returns:
      the Slice type ID of the most-derived interface
    • ice_staticId

      static String ice_staticId()
      Returns the type ID of the associated Slice interface.
      Returns:
      The return value is always "::Ice::Object".
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      Dispatches an incoming request and returns the corresponding outgoing response.
      Parameters:
      request - the incoming request
      Returns:
      a CompletionStage that will complete with the outgoing response
      Throws:
      UserException - If a UserException is thrown, Ice will marshal it as the response payload.