Callback setter for when all queued data has been sent.
Callback setter for when a connection has been established (if applicable).
Callback setter for when a connection was closed.
Callback setter for when new data is read.
Terminate the connection.
Queue Data for sending.
Has a connection been established?
Are we in the process of disconnecting? (Waiting for data to be flushed)
Get connection state.
Common interface for connections and adapters.