ControlWriter
Owns the process-pipe write and the FIFO that attributes replies to requests.
Source and package
- Qualified name
-
io.github .libtmux .control. Control Writer - Package
- io.github.libtmux.control
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/control/ControlWriter.java
-
Description#
A request's reply is the first block tmux writes for it: an acknowledgement, which deferred work may outlive. But tmux answers every command another one queues with a block of its own, as
if-shellqueues its branch andrun-shellreports its job, numbered like any other. So each request line is followed by a second,display-message -pof a marker unique to it: tmux runs that after everything the request queued, whether the request failed or not. Blocks between a reply and its marker belong to the request already answered, and are not handed to the next one.
Members12#
- await method
- close method
- complete method Called by the reader for each reply block, in the order tmux wrote them.
- ControlWriter method
- DEFAULT_CAPACITY: int attribute
- exchange method
- expectInitial method Records the attach request dispatched by the process invocation.
- join method
- readerEnded method
- Request class
- start method
- takeTiming method Queue time, then run time, for the last exchange on this thread;
elapsedas run time when this thread made none.