Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
disposition(DeliveryState state)
updates the state of the delivery
|
void |
free()
TODO When does an application call this method? Do we really need this?
|
Object |
getContext() |
LinkImpl |
getLink() |
DeliveryState |
getLocalState() |
int |
getMessageFormat()
TODO is this required??
|
DeliveryState |
getRemoteState() |
byte[] |
getTag() |
DeliveryImpl |
getWorkNext() |
boolean |
isBuffered() |
boolean |
isPartial() |
boolean |
isReadable()
Returns whether this delivery has data ready to be received.
|
boolean |
isSettled()
Returns whether this delivery has been settled.
|
boolean |
isUpdated()
Returns whether this delivery's state or settled flag has ever remotely changed.
|
boolean |
isWritable() |
DeliveryImpl |
next() |
int |
pending() |
boolean |
remotelySettled() |
void |
setContext(Object context) |
void |
setDataOffset(int arrayOffset) |
void |
settle()
Settles this delivery.
|
String |
toString() |
public DeliveryState getLocalState()
getLocalState
in interface Delivery
public DeliveryState getRemoteState()
getRemoteState
in interface Delivery
public boolean remotelySettled()
remotelySettled
in interface Delivery
public int getMessageFormat()
Delivery
getMessageFormat
in interface Delivery
public void disposition(DeliveryState state)
Delivery
disposition
in interface Delivery
state
- the new delivery statepublic void settle()
Delivery
Connection.getWorkHead()
).
If this delivery is its link's current delivery, the link's current delivery pointer is advanced.public DeliveryImpl next()
public void free()
Delivery
public DeliveryImpl getWorkNext()
getWorkNext
in interface Delivery
Connection.getWorkHead()
public boolean isSettled()
Delivery
isSettled
in interface Delivery
Delivery.settle()
public void setDataOffset(int arrayOffset)
public boolean isWritable()
isWritable
in interface Delivery
public boolean isReadable()
Delivery
isReadable
in interface Delivery
Receiver.recv(byte[], int, int)
public boolean isUpdated()
Delivery
public boolean isBuffered()
isBuffered
in interface Delivery
public Object getContext()
getContext
in interface Delivery
public void setContext(Object context)
setContext
in interface Delivery
Copyright © 2015 The Apache Software Foundation. All rights reserved.