Class Disposition
java.lang.Object
org.apache.qpid.protonj2.types.transport.Disposition
- All Implemented Interfaces:
Performative
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.transport.Performative
Performative.PerformativeHandler<E>, Performative.PerformativeType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
int
long
getFirst()
long
getLast()
getRole()
boolean
getState()
boolean
boolean
hasElement
(int index) boolean
hasFirst()
boolean
hasLast()
boolean
hasRole()
boolean
boolean
hasState()
<E> void
invoke
(Performative.PerformativeHandler<E> handler, ProtonBuffer payload, int channel, E context) boolean
isEmpty()
reset()
setBatchable
(boolean batchable) setFirst
(int first) setFirst
(long first) setLast
(int last) setLast
(long last) setSettled
(boolean settled) setState
(DeliveryState state) toString()
-
Field Details
-
DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
-
-
Constructor Details
-
Disposition
public Disposition()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
getElementCount
public int getElementCount() -
hasElement
public boolean hasElement(int index) -
hasRole
public boolean hasRole() -
hasFirst
public boolean hasFirst() -
hasLast
public boolean hasLast() -
hasSettled
public boolean hasSettled() -
hasState
public boolean hasState() -
hasBatchable
public boolean hasBatchable() -
getRole
-
setRole
-
clearRole
-
getFirst
public long getFirst() -
setFirst
-
setFirst
-
clearFirst
-
getLast
public long getLast() -
setLast
-
setLast
-
clearLast
-
getSettled
public boolean getSettled() -
setSettled
-
clearSettled
-
getState
-
setState
-
clearState
-
getBatchable
public boolean getBatchable() -
setBatchable
-
clearBatchable
-
reset
-
copy
- Specified by:
copy
in interfacePerformative
-
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
-