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 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 invocation to a servant.
    default String
    ice_id(Current current)
    Returns the Slice type ID of the most-derived interface supported by this object.
    default String[]
    ice_ids(Current current)
    Returns the Slice type IDs of the interfaces supported by this object.
    default boolean
    ice_isA(String s, 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 Slice type ID of the interface supported by this object.
  • Method Details

    • ice_isA

      default boolean ice_isA(String s, Current current)
      Tests whether this object supports a specific Slice interface.
      Parameters:
      s - The type ID of the Slice interface to test against.
      current - The Current object for the invocation.
      Returns:
      true if this object has the interface specified by s or derives from the interface specified by s.
    • ice_ping

      default void ice_ping(Current current)
      Tests whether this object can be reached.
      Parameters:
      current - The Current object for the invocation.
    • ice_ids

      default String[] ice_ids(Current current)
      Returns the Slice type IDs of the interfaces supported by this object.
      Parameters:
      current - The Current 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

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

      static String ice_staticId()
      Returns the Slice type ID of the interface supported by this object.
      Returns:
      The return value is always ::Ice::Object.
    • ice_dispatch

      default CompletionStage<OutputStream> ice_dispatch(Request request) throws UserException
      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: