Class DistributionDescriptor

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

public final class DistributionDescriptor extends Object implements Cloneable, Serializable
Describes a distribution.
See Also:
  • Field Details

    • icepatch

      public String icepatch
      The proxy of the IcePatch2 server.
    • directories

      public List<String> directories
      The source directories.
  • Constructor Details

    • DistributionDescriptor

      public DistributionDescriptor()
      Constructs a DistributionDescriptor.
    • DistributionDescriptor

      public DistributionDescriptor(String icepatch, List<String> directories)
      Constructs a DistributionDescriptor with values for all its fields.
      Parameters:
      icepatch - The proxy of the IcePatch2 server.
      directories - The source directories.
  • Method Details

    • equals

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

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

      public DistributionDescriptor 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, DistributionDescriptor v)
      Marshals a DistributionDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      v - the DistributionDescriptor to marshal; can be null
    • ice_read

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

      public static void ice_write(OutputStream ostr, int tag, Optional<DistributionDescriptor> v)
      Marshals an optional DistributionDescriptor 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, DistributionDescriptor v)
      Marshals an optional DistributionDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_read

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