Class CreateConsumerRequest

  • All Implemented Interfaces:
    Dumpable, java.io.Serializable

    public class CreateConsumerRequest
    extends Request
    Version:
    1.0
    Author:
    Andreas Mueller, IIT GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • CreateConsumerRequest

        public CreateConsumerRequest​(int dispatchId,
                                     QueueImpl queue,
                                     java.lang.String messageSelector)
        Parameters:
        queue -
        messageSelector -
        clientDispatchId -
        dispatchId -
    • Method Detail

      • getDumpId

        public int getDumpId()
        Returns a unique dump id for this object.
        Specified by:
        getDumpId in interface Dumpable
        Overrides:
        getDumpId in class Request
        Returns:
        unique dump id
      • writeContent

        public void writeContent​(java.io.DataOutput out)
                          throws java.io.IOException
        Write the content of this object to the stream.
        Specified by:
        writeContent in interface Dumpable
        Overrides:
        writeContent in class Request
        Parameters:
        out - output stream
        Throws:
        java.io.IOException - if an error occurs
      • readContent

        public void readContent​(java.io.DataInput in)
                         throws java.io.IOException
        Read the content of this object from the stream.
        Specified by:
        readContent in interface Dumpable
        Overrides:
        readContent in class Request
        Parameters:
        in - input stream
        Throws:
        java.io.IOException - if an error occurs
      • getQueue

        public QueueImpl getQueue()
        Returns:
      • setQueue

        public void setQueue​(QueueImpl queue)
        Parameters:
        queue -
      • getMessageSelector

        public java.lang.String getMessageSelector()
        Returns:
      • setMessageSelector

        public void setMessageSelector​(java.lang.String messageSelector)
        Parameters:
        messageSelector -
      • toString

        public java.lang.String toString()
        Method declaration
        Overrides:
        toString in class Request
        Returns: