Class Publish


public class Publish extends BasicMethod
  • Constructor Details

    • Publish

      public Publish()
  • Method Details

    • accept

      public void accept(BasicMethodVisitor visitor)
      Specified by:
      accept in class BasicMethod
    • getReserved1

      public int getReserved1()
    • setReserved1

      public void setReserved1(int reserved1)
    • getExchange

      public String getExchange()
    • setExchange

      public void setExchange(String exchange)
    • getRoutingKey

      public String getRoutingKey()
    • setRoutingKey

      public void setRoutingKey(String routingKey)
    • getMandatory

      public boolean getMandatory()
    • setMandatory

      public void setMandatory(boolean mandatory)
    • getImmediate

      public boolean getImmediate()
    • setImmediate

      public void setImmediate(boolean immediate)
    • readBody

      protected void readBody(BitSupportDataInput in) throws IOException
      Specified by:
      readBody in class Method
      Throws:
      IOException
    • writeBody

      protected void writeBody(BitSupportDataOutput out) throws IOException
      Specified by:
      writeBody in class Method
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Method