Class ConnectRequest

    • Constructor Detail

      • ConnectRequest

        public ConnectRequest​(java.lang.String routerName,
                              boolean requestXA)
    • Method Detail

      • getDumpId

        public int getDumpId()
        Description copied from interface: Dumpable
        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 output)
                          throws java.io.IOException
        Description copied from interface: Dumpable
        Write the content of this object to the stream.
        Specified by:
        writeContent in interface Dumpable
        Overrides:
        writeContent in class Request
        Parameters:
        output - output stream
        Throws:
        java.io.IOException - if an error occurs
      • readContent

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

        public java.lang.String getRouterName()
      • isRequestXA

        public boolean isRequestXA()
      • toString

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