Liking cljdoc? Tell your friends :D

nrepl.socket

Compatibility layer for java.io vs java.nio sockets to allow an incremental transition to nio, since the JDK's filesystem sockets don't support the java.io socket interface, and we can't use the compatibility layer for bidirectional read and write: https://bugs.openjdk.java.net/browse/JDK-4509080.

Compatibility layer for java.io vs java.nio sockets to allow an
incremental transition to nio, since the JDK's filesystem sockets
don't support the java.io socket interface, and we can't use the
compatibility layer for bidirectional read and write:
https://bugs.openjdk.java.net/browse/JDK-4509080.
raw docstring

Acceptablecljprotocol

acceptclj

(accept s)

Accepts a connection on s. Throws ClosedChannelException if s is closed.

Accepts a connection on s.  Throws ClosedChannelException if s is
closed.
source

as-nrepl-uriclj

(as-nrepl-uri sock transport-scheme)
source

AsBufferedInputStreamSubsetcljprotocol

buffered-inputclj

(buffered-input x)

Returns a buffered stream (subset of BufferedInputStream) reading from x.

Returns a buffered stream (subset of BufferedInputStream) reading from x.
source

AsBufferedOutputStreamSubsetcljprotocol

buffered-outputclj

(buffered-output x)

Returns a buffered stream (subset of BufferedOutputStream) reading from x.

Returns a buffered stream (subset of BufferedOutputStream) reading from x.
source

buffered-output-channelclj

(buffered-output-channel channel bytes)
source

Connectablecljprotocol

is-connected?clj

(is-connected? s)

Returns true if socket-like thing s is currently connected.

Returns true if socket-like thing `s` is currently connected.
source

find-classcljmacro

(find-class full-path)
source

inet-socketclj

(inet-socket bind port)
(inet-socket bind port tls-context)
source

jdk-unix-address-classclj

source

jdk-unix-address-ofclj

source

jdk-unix-server-socketclj

source

jdk-unix-socketclj

source

junix-address-ofclj

source

junix-server-socketclj

source

junix-socketclj

source

junixsocket-address-classclj

source

junixsocket-classclj

source

junixsocket-server-classclj

source

unix-client-socketclj

(unix-client-socket path)

Returns a filesystem socket bound to the path if the JDK is version 16 or newer or if com.kohlschutter.junixsocket/junixsocket-core can be loaded dynamically. Otherwise throws the ex-info map {:nrepl/kind ::no-filesystem-sockets}.

Returns a filesystem socket bound to the path if the JDK is version
16 or newer or if com.kohlschutter.junixsocket/junixsocket-core can
be loaded dynamically.  Otherwise throws the ex-info map
{:nrepl/kind ::no-filesystem-sockets}.
sourceraw docstring

unix-domain-flavorclj

source

unix-server-socketclj

(unix-server-socket path)

Returns a filesystem socket bound to the path if the JDK is version 16 or newer or if com.kohlschutter.junixsocket/junixsocket-core can be loaded dynamically. Otherwise throws the ex-info map {:nrepl/kind ::no-filesystem-sockets}.

Returns a filesystem socket bound to the path if the JDK is version
16 or newer or if com.kohlschutter.junixsocket/junixsocket-core can
be loaded dynamically.  Otherwise throws the ex-info map
{:nrepl/kind ::no-filesystem-sockets}.
sourceraw docstring

unix-socket-addressclj

(unix-socket-address path)

Returns a filesystem socket address for the given path string.

Returns a filesystem socket address for the given path string.
sourceraw docstring

Writablecljprotocol

writeclj

(write w byte-array)
(write w byte-array offset length)

Writes the given bytes to the output as per OutputStream write.

Writes the given bytes to the output as per OutputStream write.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close