Common base for all transport callbacks.
Declared in <folly/io/coro/TransportCallbackBase.h>
class TransportCallbackBase;
| Name | Description |
|---|---|
TransportCallbackBase [constructor] | Constructs a callback base bound to transport. |
~TransportCallbackBase [destructor] [virtual] | Destroys the callback base. |
error | Returns the stored error, if any. |
post | Signals completion to the waiting coroutine. |
wait | Waits for the callback to complete, honoring cancellation. |
| Name | Description |
|---|---|
storeException | Stores ex as the callback's error, preserving SSL error details. |
| Name | Description |
|---|---|
baton_ | Baton used to notify the other side of completion. |
error_ | Wraps any AsyncTransport error. |
transport_ | Transport whose state the callback modifies, e.g. to cancel callbacks. |
| Name | Description |
|---|---|
ConnectCallback | Handles the connect operation for an AsyncSocketTransport. |
ReadCallback | Handles data reads for an AsyncTransport. |
WriteCallback | Handles data writes for an AsyncTransport. |