Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.SnapshotCapture.SnapshotCapture

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.SnapshotCapture
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/SnapshotCapture.java
class io.github.libtmux.SnapshotCapture.SnapshotCapture
classreadonly [source]
classreadonly [source]
class io.github.libtmux.SnapshotCapture.SnapshotCapture

Reads a whole tmux server into one snapshot.

One server-wide listing per kind of object, so ordering and membership stay tmux's decision rather than being re-derived from another listing's rows.

Two commands: who the server is, then the listings as one group fenced against both halves of that answer, its pid and its version. tmux runs a group in the server, so rows cannot come from two of them, and a server that is not the one probed is refused before a listing runs rather than detected afterwards. Retrying is Server#snapshot() 's decision, not this one's.

5 declared, 0 inherited

Members

  • attempt method One attempt, empty when the server was replaced under it.
  • process method Reads process identity and version together so neither can come from a different server.
  • processForCreation method As #process , except a live daemon this client cannot actually talk to is never folded into "no daemon" - used only by Server#versionForCreation, the one caller for which that distinction matters.
  • ServerProcess struct
  • SnapshotCapture method
Esc

Type to search.