Class Detach
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transport.Detach
-
- All Implemented Interfaces:
Performative
public final class Detach 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 UnsignedLongDESCRIPTOR_CODEstatic SymbolDESCRIPTOR_SYMBOL
-
Constructor Summary
Constructors Constructor Description Detach()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Detachcopy()booleangetClosed()intgetElementCount()ErrorConditiongetError()longgetHandle()Performative.PerformativeTypegetPerformativeType()booleanhasClosed()booleanhasError()booleanhasHandle()<E> voidinvoke(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context)booleanisEmpty()DetachsetClosed(boolean closed)DetachsetError(ErrorCondition error)DetachsetHandle(long handle)StringtoString()
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getElementCount
public int getElementCount()
-
hasHandle
public boolean hasHandle()
-
hasClosed
public boolean hasClosed()
-
hasError
public boolean hasError()
-
getHandle
public long getHandle()
-
setHandle
public Detach setHandle(long handle)
-
getClosed
public boolean getClosed()
-
setClosed
public Detach setClosed(boolean closed)
-
getError
public ErrorCondition getError()
-
setError
public Detach setError(ErrorCondition error)
-
copy
public Detach copy()
- Specified by:
copyin interfacePerformative
-
getPerformativeType
public Performative.PerformativeType getPerformativeType()
- Specified by:
getPerformativeTypein interfacePerformative
-
invoke
public <E> void invoke(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context)
- Specified by:
invokein interfacePerformative
-
-