Class Open
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transport.Open
-
- All Implemented Interfaces:
Performative
public final class Open extends 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 Open()
-
Method Summary
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Method Detail
-
copy
public Open copy()
- Specified by:
copy
in interfacePerformative
-
isEmpty
public boolean isEmpty()
-
getElementCount
public int getElementCount()
-
hasElement
public boolean hasElement(int index)
-
hasContainerId
public boolean hasContainerId()
-
hasHostname
public boolean hasHostname()
-
hasMaxFrameSize
public boolean hasMaxFrameSize()
-
hasChannelMax
public boolean hasChannelMax()
-
hasIdleTimeout
public boolean hasIdleTimeout()
-
hasOutgoingLocales
public boolean hasOutgoingLocales()
-
hasIncomingLocales
public boolean hasIncomingLocales()
-
hasOfferedCapabilities
public boolean hasOfferedCapabilities()
-
hasDesiredCapabilities
public boolean hasDesiredCapabilities()
-
hasProperties
public boolean hasProperties()
-
getContainerId
public String getContainerId()
-
getHostname
public String getHostname()
-
getMaxFrameSize
public long getMaxFrameSize()
-
setMaxFrameSize
public Open setMaxFrameSize(int maxFrameSize)
-
setMaxFrameSize
public Open setMaxFrameSize(long maxFrameSize)
-
getChannelMax
public int getChannelMax()
-
setChannelMax
public Open setChannelMax(short channelMax)
-
setChannelMax
public Open setChannelMax(int channelMax)
-
getIdleTimeout
public long getIdleTimeout()
-
setIdleTimeout
public Open setIdleTimeout(int idleTimeout)
-
setIdleTimeout
public Open setIdleTimeout(long idleTimeout)
-
getOutgoingLocales
public Symbol[] getOutgoingLocales()
-
getIncomingLocales
public Symbol[] getIncomingLocales()
-
getOfferedCapabilities
public Symbol[] getOfferedCapabilities()
-
getDesiredCapabilities
public Symbol[] getDesiredCapabilities()
-
getPerformativeType
public Performative.PerformativeType getPerformativeType()
- Specified by:
getPerformativeType
in interfacePerformative
-
invoke
public <E> void invoke(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context)
- Specified by:
invoke
in interfacePerformative
-
-