Class Open
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transport.Open
-
- All Implemented Interfaces:
Performative
public final class Open 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 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()
-
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 java.lang.String getContainerId()
-
setContainerId
public Open setContainerId(java.lang.String containerId)
-
getHostname
public java.lang.String getHostname()
-
setHostname
public Open setHostname(java.lang.String hostname)
-
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()
-
getProperties
public java.util.Map<Symbol,java.lang.Object> getProperties()
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-