# io.github.libtmux.snapshot.ServerSnapshot.ServerSnapshot

- **Module:** io.github.libtmux.snapshot.ServerSnapshot
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/snapshot/ServerSnapshot.java#L27
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-snapshot-serversnapshot-serversnapshot/

One tmux hierarchy, as it was at one moment.

<p>Every question below is answered from what was captured, so traversing a snapshot issues no
commands and cannot observe a half-changed server. It claims a moment rather than current truth:
tmux offers no transaction across separate listings, and pretending otherwise would be a promise
this cannot keep.

## Members

- `of` (method) — Assembles a capture, checking that the listings agree with each other.
- `capturedAt` (method) — When this capture was taken.
- `serverPid` (method) — The tmux process that produced this capture, absent when assembled from detached state.
- `serverVersion` (method) — The tmux version that produced this capture, absent when assembled from detached state.
- `sessions` (method) — Every session, in tmux's order.
- `windows` (method) — Every winlink, in tmux's order, including a window linked into more than one session twice.
- `panes` (method) — Every pane, in tmux's order.
- `clients` (method) — Every attached client.
- `session` (method) — The session with this id, if the capture saw it.
- `window` (method) — The winlink at this exact position, if the capture saw it.
- `windowsOf` (method) — The winlinks in one session, in order. Empty when the capture never saw that session.
- `panesOf` (method) — The panes under one winlink, in order. Empty when the capture never saw that winlink.
- `toString` (method)
