Class GetRightsRequest

    • Field Detail

      • dest

        private String dest
        Identifier of the target destination.
    • Constructor Detail

      • GetRightsRequest

        public GetRightsRequest​(String dest)
        Constructs a Monitor_GetReaders instance.
        Parameters:
        dest - Identifier of the target destination.
      • GetRightsRequest

        public GetRightsRequest()
    • Method Detail

      • getDest

        public String getDest()
        Returns the identifier of the target destination.
        Returns:
        The identifier of the target destination.
      • readFrom

        public void readFrom​(InputStream is)
                      throws IOException
        Description copied from interface: Streamable
        The object implements the readFrom method to restore its contents from the input stream.
        Parameters:
        is - the stream to read data from in order to restore the object
        Throws:
        IOException - an error occurs during IO operation.
      • writeTo

        public void writeTo​(OutputStream os)
                     throws IOException
        Description copied from interface: Streamable
        The object implements the writeTo method to write its contents to the output stream.
        Parameters:
        os - the stream to write the object to
        Throws:
        IOException - an error occurs during IO operation.