ControlCarrier.pinSocket
Retains this realm's Unix socket against replacement before control initialization.
Source and package
- Qualified name
-
io.github .libtmux .transport .Control Carrier. pin Socket - Package
- io.github.libtmux.transport
- Declared in
ControlCarrier- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/transport/ControlCarrier.java
- default Pinned
Socket pinSocket( String socketPath , Duration timeout) throws IOException -
Description
The alias must refer to the same socket inode for its lifetime, within a private directory on the same filesystem. Replacing the original pathname must never redirect the alias. The caller owns the returned pin; the carrier remains borrowed.
- Parameters
-
-
socketPath(String) – the daemon's own socket path in this carrier's realm
-
- Returns
-
the retained endpoint
- Errors
-
-
IOException – if pinning fails
-
Unsupported
Operation – when this carrier cannot retain an endpointException
-
Recorded calls
source callsThe Java reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.transport.ControlCarrier.pinSocket.