Module jup_kernel_socket

Behaviours: gen_server.

Function Index

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
send/3
start_link/4 Router socket implementation, used for control, shell, and stdin.
terminate/2

Function Details

code_change/3

code_change(OldVsn, State, Extra) -> any()

handle_call/3

handle_call(X1, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Msg, State) -> any()

init/1

init(X1) -> any()

send/3

send(Name::jupyter:name(), PortName::atom(), Msg::jup_msg:type()) -> ok

start_link/4

start_link(Name::jupyter:name(), PortName::atom(), Port::integer(), ConnData::jup_connection_file:data()) -> {ok, pid()}

Router socket implementation, used for control, shell, and stdin

Opens a ROUTER socket at the given port and passes decoded messages on to the jup_kernel_dispatcher which uses jup_kernel_protocol for further processing. Answers are sent back from the worker process using send/3.

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc