Class Attach
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transport.Attach
-
- All Implemented Interfaces:
Performative
public final class Attach extends java.lang.Object implements Performative
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.transport.Performative
Performative.PerformativeHandler<E>, Performative.PerformativeType
-
-
Field Summary
Fields Modifier and Type Field Description static UnsignedLong
DESCRIPTOR_CODE
static Symbol
DESCRIPTOR_SYMBOL
-
Constructor Summary
Constructors Constructor Description Attach()
-
Method Summary
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Method Detail
-
getPerformativeType
public Performative.PerformativeType getPerformativeType()
- Specified by:
getPerformativeType
in interfacePerformative
-
copy
public Attach copy()
- Specified by:
copy
in interfacePerformative
-
isEmpty
public boolean isEmpty()
-
getElementCount
public int getElementCount()
-
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 java.lang.String getName()
-
setName
public Attach setName(java.lang.String name)
-
getHandle
public long getHandle()
-
setHandle
public Attach setHandle(int handle)
-
setHandle
public Attach setHandle(long handle)
-
getRole
public Role getRole()
-
getSenderSettleMode
public SenderSettleMode getSenderSettleMode()
-
setSenderSettleMode
public Attach setSenderSettleMode(SenderSettleMode sndSettleMode)
-
getReceiverSettleMode
public ReceiverSettleMode getReceiverSettleMode()
-
setReceiverSettleMode
public Attach setReceiverSettleMode(ReceiverSettleMode rcvSettleMode)
-
getSource
public Source getSource()
-
getTarget
public <T extends Terminus> T getTarget()
-
setTarget
public Attach setTarget(Coordinator target)
-
setCoordinator
public Attach setCoordinator(Coordinator target)
-
getUnsettled
public java.util.Map<Binary,DeliveryState> getUnsettled()
-
setUnsettled
public Attach setUnsettled(java.util.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()
-
getDesiredCapabilities
public Symbol[] getDesiredCapabilities()
-
getProperties
public java.util.Map<Symbol,java.lang.Object> getProperties()
-
invoke
public <E> void invoke(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context)
- Specified by:
invoke
in interfacePerformative
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-