Class SetDMQRequest

    • Field Detail

      • destId

        private String destId
        Identifier of the destination the DMQ is set for. If NullId set the default DMQ
      • dmqId

        private String dmqId
        Identifier of the DMQ. If NullId unset the DMQ.
    • Constructor Detail

      • SetDMQRequest

        public SetDMQRequest​(String destId,
                             String dmqId)
        Constructs a SetDestinationDMQ instance.
        Parameters:
        destId - Identifier of the destination the DMQ is set for.
        dmqId - Identifier of the DMQ.
      • SetDMQRequest

        public SetDMQRequest()
    • Method Detail

      • getDestId

        public String getDestId()
        Returns the identifier of the destination the DMQ is set for.
        Returns:
        Identifier of the destination the DMQ is set for.
      • getDmqId

        public String getDmqId()
        Returns the identifier of the DMQ.
        Returns:
        Identifier of the DMQ.
      • 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.