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

- **Module:** io.github.libtmux.snapshot.ServerSnapshot.ServerSnapshot
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/snapshot/ServerSnapshot.java#L92
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-snapshot-serversnapshot-serversnapshot-of/

```
io.github.libtmux.snapshot.ServerSnapshot.ServerSnapshot.of(capturedAt: Instant, serverPid: long, serverVersion: TmuxVersion, sessions: List<SessionState>, windows: List<WindowState>, panes: List<PaneState>, clients: List<ClientState>) -> ServerSnapshot
```

Assembles a capture tied to the live tmux process and version that produced it.
