|
|
| connection () |
| | Create an empty connection.
|
| bool | uninitialized () const |
| | True if the local end is uninitialized.
|
| bool | active () const |
| | True if the local end is active.
|
| bool | closed () const |
| | True if the local and remote ends are closed.
|
| class error_condition | error () const |
| | Get the error condition of the remote endpoint.
|
| class container & | container () const |
| | Get the container.
|
|
class work_queue & | work_queue () const |
| | Get the work_queue for the connection.
|
|
class transport | transport () const |
| | Get the transport for the connection.
|
|
std::string | virtual_host () const |
| | Return the remote AMQP hostname attribute for the connection.
|
|
std::string | container_id () const |
| | Return the remote container ID for the connection.
|
|
std::string | user () const |
| | Return authenticated user for the connection Note: The value returned is not stable until the on_transport_open event is received.
|
|
std::string | url () const |
| | Return the url for the connection.
|
| void | open () |
| | Open the connection.
|
| void | open (const connection_options &) |
| | Open the connection.
|
| void | close () |
| | Close the connection.
|
| void | close (const error_condition &) |
| | Close the connection.
|
|
session | open_session () |
| | Open a new session.
|
| session | open_session (const session_options &) |
| | Open a new session.
|
| session | default_session () |
| | Get the default session.
|
|
sender | open_sender (const std::string &addr) |
| | Open a sender for addr on default_session().
|
| sender | open_sender (const std::string &addr, const sender_options &) |
| | Open a sender for addr on default_session().
|
|
receiver | open_receiver (const std::string &addr) |
| | Open a receiver for addr on default_session().
|
| receiver | open_receiver (const std::string &addr, const receiver_options &) |
| | Open a receiver for addr on default_session().
|
| class sender_options | sender_options () const |
| class receiver_options | receiver_options () const |
|
session_range | sessions () const |
| | Return all sessions on this connection.
|
|
receiver_range | receivers () const |
| | Return all receivers on this connection.
|
|
sender_range | senders () const |
| | Return all senders on this connection.
|
| uint32_t | max_frame_size () const |
| | Get the maximum frame size allowed by the remote peer.
|
| uint16_t | max_sessions () const |
| | Get the maximum number of open sessions allowed by the remote peer.
|
|
std::vector< symbol > | offered_capabilities () const |
| | Unsettled API - Extension capabilities offered by the remote peer.
|
|
std::vector< symbol > | desired_capabilities () const |
| | Unsettled API - Extension capabilities desired by the remote peer.
|
|
std::map< symbol, value > | properties () const |
| | Unsettled API - Connection properties
|
| uint32_t | idle_timeout () const |
| | Get the idle timeout set by the remote peer.
|
| void | wake () const |
| | Unsettled API - Trigger an event from another thread.
|
| bool | reconnected () const |
| | Unsettled API - True if this connection has been automatically re-connected.
|
| void | update_options (const connection_options &) |
| | Unsettled API - Update the connection options for this connection
|
|
void | user_data (void *user_data) const |
| | Set user data on this connection.
|
|
void * | user_data () const |
| | Get user data from this connection.
|