# libtmux::Connection

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/control.hpp#L296
- **Page:** https://libtmux.org/reference/cxx/libtmux-connection/

## Members

- `connect` (method)
- `~Connection` (method)
- `Connection` (method)
- `execute` (method) — Completes at this request's private protocol boundary and preserves every guarded block before it.
- `take_notifications` (method) — Every outside-block event tmux has written since the last call.
- `watch_notifications` (method) — Open an independent cursor at the next outside-block event.
- `wait_for_notifications` (method) — The same, but waits for something to arrive.
- `notification_fd` (method) — A descriptor that is readable exactly when a take would return something.
- `set_pane_output` (method)
- `events` (method) — Everything tmux says until the deadline, as one loop rather than two.
- `dropped_notifications` (method) — How many outside-block events this Connection's legacy taking cursor missed to keep the shared log bounded.
- `native_child_pid` (method)
- `shutdown` (method)
