io.github.libtmux.Server.Server.within
Java
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- io.github.libtmux.Server
- Declared in
- Server
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
-
This server, with every command bounded by a deadline of the caller's choosing.
The per-call deadline. Every read and change made through the result, and through every handle taken from it, gives tmux this long rather than the server's default:
Shares this server's transport, so it has the same identity and its handles compare equal to this server's; closing it releases nothing.
#toBuilderis not how to spell this: a server that owns its transport hands a derived server a transport of its own, which a caller bounding many calls would multiply.Examples
List<String> screen = server.within(Duration.ofMillis(500)).panes().get(0).capture();- Raises
-
-
IllegalArgumentException – if the timeout is not positive
-
0 declared, 0 inherited