libtmux Reference MCP Search
On this page

io.github.libtmux.ServerEndpoint.ServerEndpoint

View as Markdown

Module
io.github.libtmux.ServerEndpoint
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/ServerEndpoint.java
interface io.github.libtmux.ServerEndpoint.ServerEndpoint
interface [source]
interface [source]
interface io.github.libtmux.ServerEndpoint.ServerEndpoint

Which tmux server to talk to.

<p>A value, decided and comparable before any process runs. Two endpoints are equal when they name the same server lexically; nothing here resolves symlinks, contacts the filesystem, or opens a socket. That matters because an endpoint is routinely built, logged and compared while the socket it names does not exist yet.

<p>Validation that needs tmux — above all whether a socket path fits the platform's sun_path — happens at dispatch, where the error can carry the command that hit it.

7 declared, 0 inherited

Members

  • defaultSocket method tmux's own default server, wherever tmux decides that is.
  • flags method The flags that select this server, in argv order.
  • namedSocket method A server named with -L, resolved by tmux under its own socket directory.
  • socketPath method A server at an exact socket path, selected with -S.
  • Default struct Adds no flags, so tmux applies its own default socket resolution.
  • NamedSocket struct A server tmux locates by name under its own socket directory.
  • SocketPath struct A server at an exact socket path.
Esc

Type to search.