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.

interface libtmux-java latest

TmuxTransport

Runs one tmux command and blocks until it has an answer.

Source and package
Qualified name
io.github.libtmux.transport.TmuxTransport
Package
io.github.libtmux.transport
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/TmuxTransport.java
interface io.github.libtmux.transport.TmuxTransport

Description#

Implementations are thread-safe and #close() is idempotent. A call begun before close either completes under the documented contract or fails with its dispatch certainty intact; a call begun after close fails with io.github.libtmux.exception.ServerClosedException, an IllegalStateException.

Members7#

  • admissionBound method How many requests this transport runs at once; the rest wait for a turn.
  • close method Releases every resource and destroys every child still running. Idempotent.
  • controlCarrier method How this transport starts a process that stays attached.
  • execute method Runs the request to completion.
  • executeWaiting method Runs a request expected to remain blocked until another request through this transport releases it.
  • observe method Receives a report after each command this transport runs.
  • realm method Names the execution realm this transport reaches tmux through.
Esc

Type to search.

Reference previewOpen reference