Index of values


(>>=) [RPCClient.Result]

A
addr [NetTcp.Server]
Address of the sender
address [NetTcp.Connection]
address [RPCClient]
Remote address

B
broadcast [Broadcast]
Broadcast a message to everyone in the network
by_addr [NetTcp.Address]
Address with IPv4 + port
by_host [NetTcp.Connection]
by_host [RPCClient]
by_name [NetTcp.Connection]
use DNS to resolve the given address, then call NetTcp.Connection.by_host
by_name [NetTcp.Address]
DNS lookup to find an IP, and make an adress out of it and the given port number
by_name [RPCClient]
DNS lookup before connecting

C
call [RPCClient.Typed]
Call a remote method, encoding and decoding parameters and result.
call [RPCClient]
Call a remote method, with given name and arguments, and get a future reply
call_ignore [RPCClient.Typed]
Call a remote method, ignoring the result
call_ignore [RPCClient]
Call a remote method, without expecting result.
call_in [NetTcp]
Call the function in the given amount of seconds
clear [Lwt_queue]
close [NetTcp.Connection]
Close connection
close [RPCClient]
Close the connection and make the proxy unusable.
connect [Broadcast]
Connect to another node.
connect [RPCClient]
Connect to a remote node by address.
connection [RPCClient]
Underlying connection
create [Broadcast]
Create a new broadcasting device.
create [Signal]
New signal
create [Lwt_queue]
create [NetTcp.Server]
Create a new network node on the given port, if provided (a random port otherwise).
create [RPCClient.Typed]
Create a representation of a remote method, where parameters are serialized with encode and result deserialized via decode.
create [RPCServer]
Calls Net_tcp.Server.create with the given optional arguments, and then build a RPC server on top of it

D
decode [NetTcp.Address]
May raise Invalid_argument

E
encode [NetTcp.Address]
Serialize the address
eq [NetTcp.Address]
Equality of adresses
error [RPCServer]
events [Broadcast]
messages broadcasted by others
events [NetTcp.Server]
Signal transmitting events that occur on the server, when the server stops or a message is received
events [NetTcp.Connection]
Events: received messages, sent by the remote side

F
fail [RPCClient.Result]
finalize [NetTcp.Connection]
Add a finalizer on the connection so that it's closed when it's garbage collected
fmt [NetTcp.Address]
fmt [RPCClient]
fmt [RPCServer]

H
hash [NetTcp.Address]

I
is_alive [RPCClient]
Is the proxy alive?
is_closed [NetTcp.Connection]
Connection closed?
is_empty [Lwt_queue]

L
local [NetTcp.Connection]
local [NetTcp.Address]
Local adress, with the given port
local [RPCClient]

M
msg [NetTcp.Server]
Message contained in the receive_ev

N
neighbors [Broadcast]
Current list of neighbors
no_reply [RPCServer]
none [RPCClient.Result]

O
of_conn [RPCClient]
Create a proxy from an existing connection
of_server [RPCServer]
Create an instance of the RPC system, which can send and receive remote function calls using the Net_tcp.Server.t instance.
of_sock [NetTcp.Connection]
Build a connection from a given filedescriptor
on [Signal]
Register a handler to the signal; the handler returns true if it wants to continue being notified, false otherwise
once [Signal]
Register a handler to be called only once

P
pop [Lwt_queue]
port [NetTcp.Server]
Port used by the network server
port [RPCServer]
Port the system listens on
propagate [Signal]
propagate a b propagates all values of a into b.
push [Lwt_queue]

R
recv [Broadcast]
wait for the next event that occurs on the network
register [RPCServer]
register rpc name f registers f under the given name.
reply [NetTcp.Server]
Reply to the event by sending a message
reply [RPCServer]
return [RPCClient.Result]

S
send [Signal]
Trigger the signal
send [NetTcp.Connection]
Send a message to the remote machine.
stop [NetTcp.Server]
Stop this server.
stop [RPCServer]
Disable all threads and active processes

T
to_string [NetTcp.Address]
try_open [NetTcp.Connection]
Connection to a remote machine or process by its address.

W
wait [NetTcp.Server]
Wait for the server to stop
wait [NetTcp.Connection]
Wait for the connection to close
wait [RPCServer]
Wait for the server to stop
with_port [NetTcp.Address]
Same address with a different port