Class Detach
- java.lang.Object
-
- org.apache.qpid.protonj2.types.transport.Detach
-
- All Implemented Interfaces:
Performative
public final class Detach 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 Detach()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Detach
copy()
boolean
getClosed()
int
getElementCount()
ErrorCondition
getError()
long
getHandle()
Performative.PerformativeType
getPerformativeType()
boolean
hasClosed()
boolean
hasError()
boolean
hasHandle()
<E> void
invoke(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context)
boolean
isEmpty()
Detach
setClosed(boolean closed)
Detach
setError(ErrorCondition error)
Detach
setHandle(long handle)
java.lang.String
toString()
-
-
-
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:
copy
in interfacePerformative
-
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
-
-