libtmux Reference MCP Search
On this page

io.github.libtmux.ServerIdentity.ServerIdentity

View as Markdown

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

Which tmux server a handle belongs to.

<p>Two entities with the same id are the same entity only if they came from the same server. The realm exists because socket text alone is not enough: two unrelated execution realms — a local process and a container, say — can both hold a server at /tmp/s, and entities from them must not compare equal.

<p>The server is identified by a digest of its endpoint rather than by the endpoint itself, so an identity can be logged, compared and embedded in a message without carrying a socket path.

8 declared, 0 inherited

Members

  • at method
  • equals method
  • hashCode method
  • of method
  • processId method The live tmux process, present on an identity bound to a captured handle.
  • realm method The execution realm the transport reaches tmux through.
  • server method A stable opaque key for the server, carrying no socket path.
  • toString method
Esc

Type to search.