Interface AdapterObserver

All Superinterfaces:
Object

public interface AdapterObserver extends Object
This interface allows applications to monitor the state of object adapters that are registered with IceGrid.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.zeroc.Ice.Object

    Object.Ice_invokeResult
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added.
    void
    adapterInit(AdapterInfo[] adpts, Current current)
    adapterInit is called after registration of an observer to indicate the state of the registry.
    void
    The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.
    void
    The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.
    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.
    static String
    Returns the Slice type ID of the interface supported by this object.

    Methods inherited from interface com.zeroc.Ice.Object

    ice_dispatch, ice_isA, ice_ping
  • Method Details

    • adapterInit

      void adapterInit(AdapterInfo[] adpts, Current current)
      adapterInit is called after registration of an observer to indicate the state of the registry.
      Parameters:
      adpts - The adapters that were dynamically registered with the registry (not through the deployment mechanism).
      current - The Current object for the invocation.
    • adapterAdded

      void adapterAdded(AdapterInfo info, Current current)
      The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added.
      Parameters:
      info - The details of the new adapter.
      current - The Current object for the invocation.
    • adapterUpdated

      void adapterUpdated(AdapterInfo info, Current current)
      The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.
      Parameters:
      info - The details of the updated adapter.
      current - The Current object for the invocation.
    • adapterRemoved

      void adapterRemoved(String id, Current current)
      The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.
      Parameters:
      id - The ID of the removed adapter.
      current - The Current object for the invocation.
    • ice_ids

      default String[] ice_ids(Current current)
      Description copied from interface: Object
      Returns the Slice type IDs of the interfaces supported by this object.
      Specified by:
      ice_ids in interface 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)
      Description copied from interface: Object
      Returns the Slice type ID of the most-derived interface supported by this object.
      Specified by:
      ice_id in interface 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()
      Description copied from interface: Object
      Returns the Slice type ID of the interface supported by this object.
      Returns:
      The return value is always ::Ice::Object.