toggle menu
kotlin-jupyter-kernel
0.12.0-335
jvm
switch theme
search in API
shared-compiler
/
org.jetbrains.kotlinx.jupyter.protocol
/
JupyterSocket
Jupyter
Socket
interface
JupyterSocket
:
SocketWithCancellation
,
JupyterSocketBase
Inheritors
SocketWrapper
Members
Members & Extensions
Functions
bind
Link copied to clipboard
abstract
fun
bind
(
)
:
Boolean
close
Link copied to clipboard
abstract
override
fun
close
(
)
connect
Link copied to clipboard
abstract
fun
connect
(
)
:
Boolean
make
Relaxed
Link copied to clipboard
abstract
fun
makeRelaxed
(
)
on
Data
Link copied to clipboard
abstract
fun
onData
(
body
:
JupyterSocket
.
(
ByteArray
)
->
Unit
)
:
Unit
?
on
Raw
Message
Link copied to clipboard
abstract
fun
onRawMessage
(
callback
:
SocketRawMessageCallback
)
:
SocketRawMessageCallback
receive
Message
Link copied to clipboard
fun
JupyterSocketBase
.
receiveMessage
(
)
:
Message
?
receive
Raw
Message
Link copied to clipboard
abstract
fun
receiveRawMessage
(
)
:
RawMessage
?
recv
Link copied to clipboard
abstract
fun
recv
(
)
:
ByteArray
recv
String
Link copied to clipboard
abstract
fun
recvString
(
)
:
String
remove
Callback
Link copied to clipboard
abstract
fun
removeCallback
(
callback
:
SocketRawMessageCallback
)
run
Callbacks
On
Message
Link copied to clipboard
abstract
fun
runCallbacksOnMessage
(
)
:
Unit
?
send
Link copied to clipboard
abstract
fun
send
(
data
:
ByteArray
)
:
Boolean
abstract
fun
send
(
data
:
String
)
:
Boolean
send
Message
Link copied to clipboard
fun
JupyterSocketBase
.
sendMessage
(
msg
:
Message
)
send
More
Link copied to clipboard
abstract
fun
sendMore
(
data
:
ByteArray
)
:
Boolean
abstract
fun
sendMore
(
data
:
String
)
:
Boolean
send
Raw
Message
Link copied to clipboard
abstract
fun
sendRawMessage
(
msg
:
RawMessage
)
subscribe
Link copied to clipboard
abstract
fun
subscribe
(
topic
:
ByteArray
)
:
Boolean