Class AdapterDynamicInfo

java.lang.Object
com.zeroc.IceGrid.AdapterDynamicInfo
All Implemented Interfaces:
Serializable, Cloneable

public final class AdapterDynamicInfo extends Object implements Cloneable, Serializable
Dynamic information about the state of an adapter.
See Also:
  • Field Details

    • id

      public String id
      The id of the adapter.
    • proxy

      public ObjectPrx proxy
      The direct proxy containing the adapter endpoints. This proxy is never null.
  • Constructor Details

    • AdapterDynamicInfo

      public AdapterDynamicInfo()
      Constructs a AdapterDynamicInfo.
    • AdapterDynamicInfo

      public AdapterDynamicInfo(String id, ObjectPrx proxy)
      Constructs a AdapterDynamicInfo with values for all its fields.
      Parameters:
      id - The id of the adapter.
      proxy - The direct proxy containing the adapter endpoints.
  • Method Details

    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AdapterDynamicInfo clone()
      Overrides:
      clone in class Object
    • ice_writeMembers

      public void ice_writeMembers(OutputStream ostr)
      Marshals this object's fields into an output stream.
      Parameters:
      ostr - the output stream
    • ice_readMembers

      public void ice_readMembers(InputStream istr)
      Unmarshals and sets this object's fields from an input stream.
      Parameters:
      istr - the input stream
    • ice_write

      public static void ice_write(OutputStream ostr, AdapterDynamicInfo v)
      Marshals an AdapterDynamicInfo into an output stream.
      Parameters:
      ostr - the output stream
      v - the AdapterDynamicInfo to marshal; can be null
    • ice_read

      public static AdapterDynamicInfo ice_read(InputStream istr)
      Unmarshals an AdapterDynamicInfo from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the unmarshaled AdapterDynamicInfo
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, Optional<AdapterDynamicInfo> v)
      Marshals an optional AdapterDynamicInfo into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, AdapterDynamicInfo v)
      Marshals an optional AdapterDynamicInfo into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_read

      public static Optional<AdapterDynamicInfo> ice_read(InputStream istr, int tag)
      Unmarshals an optional AdapterDynamicInfo from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the unmarshaled value