Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-java latest

CapturedServer

Retains metadata and handles from one authenticated server capture.

Source and package
Qualified name
io.github.libtmux.CapturedServer
Package
io.github.libtmux
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/CapturedServer.java
class io.github.libtmux.CapturedServer

Description#

Lists are immutable and preserve tmux order, including window links and pane occurrences. Accessors and captured handle relations issue no commands and remain readable after the server closes. Explicit handle operations still use the owning server and its PID fence.

The capture is an observed consistent graph, not a tmux transaction. Its identity carries the observed daemon PID, not a generation that distinguishes PID reuse.

Members8#

Collections and queries4#

  • sessions method Returns captured sessions in tmux order.
  • windows method Returns captured window links in tmux order, retaining each placement.
  • panes method Returns captured pane occurrences in tmux order, retaining each window placement.
  • clients method Returns captured clients in tmux order.

Other members4#

  • CapturedServer method
  • identity method Returns the identity bound to the captured daemon PID without probing tmux.
  • server method Returns the server that acquired this capture.
  • snapshot method Returns the immutable snapshot that supplies every handle in this view.
Esc

Type to search.

Reference previewOpen reference