# 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/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/snapshot/ServerSnapshot.java#L27
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-snapshot-serversnapshot-serversnapshot/

One tmux hierarchy, as it was at one moment.

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 tied to the live tmux process and version that produced it.
- `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)
