Modifier and Type | Method and Description |
---|---|
void |
abort()
Abort the current delivery.
|
boolean |
advance()
Attempts to advance the current delivery.
|
void |
drained() |
void |
free()
free the endpoint and any associated resources
|
void |
offer(int credits)
indicates pending deliveries
|
int |
send(byte[] bytes,
int offset,
int length)
Sends some data for the current delivery.
|
void |
setCredit(int credit) |
Iterator<Delivery> |
unsettled() |
addCredit, close, current, delivery, delivery, getConnectionImpl, getCredit, getName, getQueued, getReceiverSettleMode, getRemoteReceiverSettleMode, getRemoteSenderSettleMode, getRemoteSource, getRemoteTarget, getSenderSettleMode, getSession, getSource, getTarget, getUnsettled, next, open, remove, setReceiverSettleMode, setRemoteSenderSettleMode, setSenderSettleMode, setSource, setTarget
getCondition, getContext, getLocalState, getRemoteCondition, getRemoteState, setCondition, setContext, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
current, delivery, delivery, getCredit, getName, getQueued, getReceiverSettleMode, getRemoteReceiverSettleMode, getRemoteSenderSettleMode, getRemoteSource, getRemoteTarget, getSenderSettleMode, getSession, getSource, getTarget, getUnsettled, next, setReceiverSettleMode, setRemoteSenderSettleMode, setSenderSettleMode, setSource, setTarget
close, getCondition, getContext, getLocalState, getRemoteCondition, getRemoteState, open, setCondition, setContext
public void offer(int credits)
Sender
public int send(byte[] bytes, int offset, int length)
Sender
send
in interface Sender
public void abort()
Sender
public void free()
Endpoint
public boolean advance()
Link
advance
in interface Link
advance
in interface Sender
advance
in class LinkImpl
TODO fully state the rules regarding when you have to call this method, what happens if you don't call it
before creating another delivery etc.
Copyright © 2013 The Apache Software Foundation. All rights reserved.