java.lang.Object
org.apache.qpid.protonj2.types.transport.Attach
All Implemented Interfaces:
Performative

public final class Attach extends Object implements Performative
  • Field Details

    • DESCRIPTOR_CODE

      public static final UnsignedLong DESCRIPTOR_CODE
    • DESCRIPTOR_SYMBOL

      public static final Symbol DESCRIPTOR_SYMBOL
  • Constructor Details

    • Attach

      public Attach()
  • Method Details

    • getPerformativeType

      public Performative.PerformativeType getPerformativeType()
      Specified by:
      getPerformativeType in interface Performative
    • copy

      public Attach copy()
      Specified by:
      copy in interface Performative
    • isEmpty

      public boolean isEmpty()
    • getElementCount

      public int getElementCount()
    • hasElement

      public boolean hasElement(int index)
    • hasName

      public boolean hasName()
    • hasHandle

      public boolean hasHandle()
    • hasRole

      public boolean hasRole()
    • hasSenderSettleMode

      public boolean hasSenderSettleMode()
    • hasReceiverSettleMode

      public boolean hasReceiverSettleMode()
    • hasSource

      public boolean hasSource()
    • hasTargetOrCoordinator

      public boolean hasTargetOrCoordinator()
    • hasTarget

      public boolean hasTarget()
    • hasCoordinator

      public boolean hasCoordinator()
    • hasUnsettled

      public boolean hasUnsettled()
    • hasIncompleteUnsettled

      public boolean hasIncompleteUnsettled()
    • hasInitialDeliveryCount

      public boolean hasInitialDeliveryCount()
    • hasMaxMessageSize

      public boolean hasMaxMessageSize()
    • hasOfferedCapabilities

      public boolean hasOfferedCapabilities()
    • hasDesiredCapabilities

      public boolean hasDesiredCapabilities()
    • hasProperties

      public boolean hasProperties()
    • getName

      public String getName()
    • setName

      public Attach setName(String name)
    • getHandle

      public long getHandle()
    • setHandle

      public Attach setHandle(int handle)
    • setHandle

      public Attach setHandle(long handle)
    • getRole

      public Role getRole()
    • setRole

      public Attach setRole(Role role)
    • getSenderSettleMode

      public SenderSettleMode getSenderSettleMode()
    • setSenderSettleMode

      public Attach setSenderSettleMode(SenderSettleMode sndSettleMode)
    • getReceiverSettleMode

      public ReceiverSettleMode getReceiverSettleMode()
    • setReceiverSettleMode

      public Attach setReceiverSettleMode(ReceiverSettleMode rcvSettleMode)
    • getSource

      public Source getSource()
    • setSource

      public Attach setSource(Source source)
    • getTarget

      public <T extends Terminus> T getTarget()
    • setTarget

      public Attach setTarget(Terminus target)
    • setTarget

      public Attach setTarget(Target target)
    • setTarget

      public Attach setTarget(Coordinator target)
    • setCoordinator

      public Attach setCoordinator(Coordinator target)
    • getUnsettled

      public Map<Binary,DeliveryState> getUnsettled()
    • setUnsettled

      public Attach setUnsettled(Map<Binary,DeliveryState> unsettled)
    • getIncompleteUnsettled

      public boolean getIncompleteUnsettled()
    • setIncompleteUnsettled

      public Attach setIncompleteUnsettled(boolean incompleteUnsettled)
    • getInitialDeliveryCount

      public long getInitialDeliveryCount()
    • setInitialDeliveryCount

      public Attach setInitialDeliveryCount(int initialDeliveryCount)
    • setInitialDeliveryCount

      public Attach setInitialDeliveryCount(long initialDeliveryCount)
    • getMaxMessageSize

      public UnsignedLong getMaxMessageSize()
    • setMaxMessageSize

      public Attach setMaxMessageSize(long maxMessageSize)
    • setMaxMessageSize

      public Attach setMaxMessageSize(UnsignedLong maxMessageSize)
    • getOfferedCapabilities

      public Symbol[] getOfferedCapabilities()
    • setOfferedCapabilities

      public Attach setOfferedCapabilities(Symbol... offeredCapabilities)
    • getDesiredCapabilities

      public Symbol[] getDesiredCapabilities()
    • setDesiredCapabilities

      public Attach setDesiredCapabilities(Symbol... desiredCapabilities)
    • getProperties

      public Map<Symbol,Object> getProperties()
    • setProperties

      public Attach setProperties(Map<Symbol,Object> properties)
    • invoke

      public <E> void invoke(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context)
      Specified by:
      invoke in interface Performative
    • toString

      public String toString()
      Overrides:
      toString in class Object