The base class for delivery and tracker. More...
#include <transfer.hpp>
Public Types | |
enum | state { NONE , RECEIVED , ACCEPTED , REJECTED , RELEASED , MODIFIED } |
Delivery state values. More... | |
Public Member Functions | |
transfer () | |
Create an empty transfer. | |
enum state | state () const |
Get the remote state for a delivery. | |
class session | session () const |
Return the session for this transfer. | |
class connection | connection () const |
Return the connection for this transfer. | |
class work_queue & | work_queue () const |
Get the work_queue for the transfer. | |
class container & | container () const |
Return the container for this transfer. | |
void | settle () |
Settle the delivery; informs the remote end. | |
bool | settled () const |
Return true if the transfer has been settled. | |
The base class for delivery and tracker.
enum state |