Class Begin
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transport.Begin
-
- All Implemented Interfaces:
Performative
public final class Begin 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 Begin()
-
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 Begin copy()
- Specified by:
copy
in interfacePerformative
-
isEmpty
public boolean isEmpty()
-
getElementCount
public int getElementCount()
-
hasRemoteChannel
public boolean hasRemoteChannel()
-
hasNextOutgoingId
public boolean hasNextOutgoingId()
-
hasIncomingWindow
public boolean hasIncomingWindow()
-
hasOutgoingWindow
public boolean hasOutgoingWindow()
-
hasHandleMax
public boolean hasHandleMax()
-
hasOfferedCapabilites
public boolean hasOfferedCapabilites()
-
hasDesiredCapabilites
public boolean hasDesiredCapabilites()
-
hasProperties
public boolean hasProperties()
-
getRemoteChannel
public int getRemoteChannel()
-
setRemoteChannel
public Begin setRemoteChannel(int remoteChannel)
-
getNextOutgoingId
public long getNextOutgoingId()
-
setNextOutgoingId
public Begin setNextOutgoingId(int nextOutgoingId)
-
setNextOutgoingId
public Begin setNextOutgoingId(long nextOutgoingId)
-
getIncomingWindow
public long getIncomingWindow()
-
setIncomingWindow
public Begin setIncomingWindow(int incomingWindow)
-
setIncomingWindow
public Begin setIncomingWindow(long incomingWindow)
-
getOutgoingWindow
public long getOutgoingWindow()
-
setOutgoingWindow
public Begin setOutgoingWindow(int outgoingWindow)
-
setOutgoingWindow
public Begin setOutgoingWindow(long outgoingWindow)
-
getHandleMax
public long getHandleMax()
-
setHandleMax
public Begin setHandleMax(int handleMax)
-
setHandleMax
public Begin setHandleMax(long handleMax)
-
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
-
-