Class RouterConfigRequest

java.lang.Object
com.swiftmq.tools.requestreply.Request
com.swiftmq.mgmt.protocol.v750.RouterConfigRequest
All Implemented Interfaces:
Dumpable, Serializable

public class RouterConfigRequest extends Request
See Also:
  • Constructor Details

    • RouterConfigRequest

      public RouterConfigRequest(int connectId, String routerName, byte[] buffer, int length)
    • RouterConfigRequest

      public RouterConfigRequest()
  • Method Details

    • getConnectId

      public int getConnectId()
    • setConnectId

      public void setConnectId(int connectId)
    • getRouterName

      public String getRouterName()
    • setRouterName

      public void setRouterName(String routerName)
    • getBuffer

      public byte[] getBuffer()
    • setBuffer

      public void setBuffer(byte[] buffer)
    • getLength

      public int getLength()
    • setLength

      public void setLength(int length)
    • 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(DataOutput out) throws 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:
      out - output stream
      Throws:
      IOException - if an error occurs
    • readContent

      public void readContent(DataInput in) throws 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:
      in - input stream
      Throws:
      IOException - if an error occurs
    • createReplyInstance

      protected Reply createReplyInstance()
      Specified by:
      createReplyInstance in class Request
    • accept

      public void accept(RequestVisitor visitor)
      Specified by:
      accept in class Request
    • toString

      public String toString()
      Overrides:
      toString in class Request