Index of values


(=) [Versioned_typed_tcp.Mode]
(=) [Versioned_typed_tcp.Dont_care_about_mode]
__pa_ounit_275876e34cf609db118f3d84b799a790 [Typed_tcp_intf]
__pa_ounit_275876e34cf609db118f3d84b799a790 [Versioned_typed_tcp]
__pa_ounit_275876e34cf609db118f3d84b799a790 [Std]
__pa_ounit_275876e34cf609db118f3d84b799a790 [Rpc_intf]
__pa_ounit_275876e34cf609db118f3d84b799a790 [Persistent_singleton]
__pa_ounit_275876e34cf609db118f3d84b799a790 [Import]

A
abort [Rpc.State_rpc]
abort [Rpc.Pipe_rpc]
abort rpc connection id given an RPC and the id returned as part of a call to dispatch, abort requests that the other side of the connection stop sending updates.
add [Versioned_typed_tcp.Version]
add [Versioned_rpc.Menu]
add impls extends a list of rpc implementations with an additional rpc implementation for providing a Menu.t when one is requested via Menu.request.
async_basic [Command]
async_basic is exactly the same as Core.Command.basic, except that the function it wraps returns unit Deferred.t, instead of unit.

B
bigsubstring_allocator [Versioned_typed_tcp]
bin_read_t [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_read_t [Versioned_typed_tcp.Client_msg.Control]
bin_read_t [Versioned_typed_tcp.Client_msg]
bin_read_t [Versioned_typed_tcp.Server_msg.Control]
bin_read_t [Versioned_typed_tcp.Read_result]
bin_read_t [Versioned_typed_tcp.Dont_care_about_mode]
bin_read_t [Tcp_file.Client.Message]
bin_read_t [Log.Message]
bin_read_t_ [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_read_t_ [Versioned_typed_tcp.Client_msg.Control]
bin_read_t_ [Versioned_typed_tcp.Client_msg]
bin_read_t_ [Versioned_typed_tcp.Server_msg.Control]
bin_read_t_ [Versioned_typed_tcp.Read_result]
bin_read_t_ [Versioned_typed_tcp.Dont_care_about_mode]
bin_read_t_ [Tcp_file.Client.Message]
bin_read_t_ [Log.Message]
bin_read_t__ [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_read_t__ [Versioned_typed_tcp.Client_msg.Control]
bin_read_t__ [Versioned_typed_tcp.Client_msg]
bin_read_t__ [Versioned_typed_tcp.Server_msg.Control]
bin_read_t__ [Versioned_typed_tcp.Read_result]
bin_read_t__ [Versioned_typed_tcp.Dont_care_about_mode]
bin_read_t__ [Tcp_file.Client.Message]
bin_read_t__ [Log.Message]
bin_reader_t [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_reader_t [Versioned_typed_tcp.Client_msg.Control]
bin_reader_t [Versioned_typed_tcp.Client_msg]
bin_reader_t [Versioned_typed_tcp.Server_msg.Control]
bin_reader_t [Versioned_typed_tcp.Read_result]
bin_reader_t [Versioned_typed_tcp.Dont_care_about_mode]
bin_reader_t [Tcp_file.Client.Message]
bin_reader_t [Log.Message]
bin_size_t [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_size_t [Versioned_typed_tcp.Client_msg.Control]
bin_size_t [Versioned_typed_tcp.Client_msg]
bin_size_t [Versioned_typed_tcp.Server_msg.Control]
bin_size_t [Versioned_typed_tcp.Read_result]
bin_size_t [Versioned_typed_tcp.Dont_care_about_mode]
bin_size_t [Tcp_file.Client.Message]
bin_size_t [Log.Message]
bin_t [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_t [Versioned_typed_tcp.Client_msg.Control]
bin_t [Versioned_typed_tcp.Client_msg]
bin_t [Versioned_typed_tcp.Server_msg.Control]
bin_t [Versioned_typed_tcp.Read_result]
bin_t [Versioned_typed_tcp.Dont_care_about_mode]
bin_t [Tcp_file.Client.Message]
bin_t [Log.Message]
bin_write_t [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_write_t [Versioned_typed_tcp.Client_msg.Control]
bin_write_t [Versioned_typed_tcp.Client_msg]
bin_write_t [Versioned_typed_tcp.Server_msg.Control]
bin_write_t [Versioned_typed_tcp.Read_result]
bin_write_t [Versioned_typed_tcp.Dont_care_about_mode]
bin_write_t [Tcp_file.Client.Message]
bin_write_t [Log.Message]
bin_write_t_ [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_write_t_ [Versioned_typed_tcp.Client_msg.Control]
bin_write_t_ [Versioned_typed_tcp.Client_msg]
bin_write_t_ [Versioned_typed_tcp.Server_msg.Control]
bin_write_t_ [Versioned_typed_tcp.Read_result]
bin_write_t_ [Versioned_typed_tcp.Dont_care_about_mode]
bin_write_t_ [Tcp_file.Client.Message]
bin_write_t_ [Log.Message]
bin_writer_t [Versioned_typed_tcp.Datumable_of_binable.T_bin]
bin_writer_t [Versioned_typed_tcp.Client_msg.Control]
bin_writer_t [Versioned_typed_tcp.Client_msg]
bin_writer_t [Versioned_typed_tcp.Server_msg.Control]
bin_writer_t [Versioned_typed_tcp.Read_result]
bin_writer_t [Versioned_typed_tcp.Dont_care_about_mode]
bin_writer_t [Tcp_file.Client.Message]
bin_writer_t [Log.Message]
bytes_to_write [Rpc_intf.Connection]
bytes_to_write [File_writer]
bytes_to_write () returns the sum over all async_file_writers of how many bytes they need to write.

C
client [Rpc_intf.Connection]
client ~host ~port connects to the server at (host,port) and returns the connection or an Error if a connection could not be made.
client_addr_port [Typed_tcp_intf.S]
client_send_version [Versioned_typed_tcp.S.Server]
client_send_version [Versioned_typed_tcp.Make.Server]
close [Versioned_typed_tcp.S.Server]
close t client close connection to client if it exists.
close [Versioned_typed_tcp.Make.Server]
close [Typed_tcp_intf.Arg.Transport]
close [Typed_tcp_intf.S]
close [Tcp_file.Server]
close t closes the file t for writing.
close [Tcp.Server]
close t starts closing the listening socket, and returns a deferred that becomes determined after Fd.close_finished fd on the socket's fd.
close [Rpc_intf.Connection]
close [Log]
close closes a log so that further write attempts will raise an error.
close [File_writer]
close_connection [Versioned_typed_tcp.S.Client]
If a connection is currently established, close it.
close_connection [Versioned_typed_tcp.Make.Client]
close_finished [Tcp.Server]
close_finished [Rpc_intf.Connection]
connect [Versioned_typed_tcp.S.Client]
connect t If the connection is not currently established, initiate one.
connect [Versioned_typed_tcp.Make.Client]
connect [Tcp_file.Client]
connect ~host ~port connect to the server at (host,port)
connect [Tcp]
connect ~host ~port is a convenience wrapper around connect_sock that returns a reader and writer on the socket.
connect_sock [Tcp]
connect_sock ~host ~port opens a TCP connection to the specified hostname and port, returning the socket.
create [Weak_hashtbl]
create [Versioned_typed_tcp.S.Client]
create a new (initially disconnected) client
create [Versioned_typed_tcp.S.Server]
create a new server, and start listening
create [Versioned_typed_tcp.Make.Client]
create [Versioned_typed_tcp.Make.Server]
create [Typed_tcp_intf.Arg.Transport]
create [Typed_tcp_intf.S]
create [Tcp.Server]
create where_to_listen handler starts a server listening to a socket as specified by where_to_listen.
create [Tcp.Where_to_listen]
create [Rpc_intf.Connection]
Initiate an Rpc connection on the given reader/writer pair.
create [Rpc.State_rpc]
create [Rpc.Pipe_rpc]
create [Rpc.Rpc]
create [Rpc.Implementations]
create ~implementations ~on_unknown_rpc creates a server capable of responding to the rpc's implemented in the implementation list.
create [Log.Blocking.Output]
create [Log.Output]
create f returns a t, given a function that actually performs the final output work.
create [Log]
create create a new log
create [Lock_file]
create ?message path tries to create a file at path containing the text message, pid if none provided.
create [File_writer]
create file opens file, creating it if it doesn't exist.
create [File_tail]
create file creates a File_tail.t that will immediately begin reading file, and then will start the stat-read loop.
create_exn [Rpc.Implementations]
create_exn [Lock_file]
create_exn ?message path is like create except that it throws an exception on failure instead of returning a boolean value
current [Versioned_typed_tcp.Mode]
current [Versioned_typed_tcp.Dont_care_about_mode]

D
debug [Log.Global_intf]
debug [Log.Blocking]
error printf like logging at the `Info log level
debug [Log]
debug printf like logging at the `Debug log level
debug_snapshot [Tcp_file.Server]
debug_snapshot () returns an s-expression containing details of the current state of the Tcp_file server.
description [Rpc.Implementation]
disconnect [Tcp_file.Client]
disconnect t disconnect from t.
dispatch [Rpc.State_rpc]
dispatch [Rpc.Pipe_rpc]
This has (..., 'error) Result.t as its return type to represent the possibility of the call itself being somehow erroneous (but understood - the outer Or_error.t encompasses failures of that nature).
dispatch [Rpc.Rpc]
dispatch_exn [Rpc.Pipe_rpc]
dispatch_exn [Rpc.Rpc]
dispatch_multi [Versioned_rpc.Caller_converts.Pipe_rpc.S]
multi-version dispatch
dispatch_multi [Versioned_rpc.Caller_converts.Rpc.S]
multi-version dispatch

E
error [Log.Global_intf]
error [Log.Blocking]
error printf like logging at the `Info log level
error [Log]
error printf like logging at the `Error log level

F
file [Log.Output]
find [Weak_hashtbl]
find_or_add [Weak_hashtbl]
flushed [Versioned_typed_tcp.S.Server]
flushed [Versioned_typed_tcp.Make.Server]
flushed [Tcp_file.Server]
flushed t becomes determined only once all messages written to t have been written to disk.
flushed [Log.Global_intf]
flushed [Log]
flushed returns a Deferred.t that is fulfilled when the last message delivered to t before the call to flushed is out the door.
flushed [File_writer]
flushed_time [Typed_tcp_intf.Arg.Transport]
flushed_time [Typed_tcp_intf.S]

H
has_client_id [Typed_tcp_intf.S]

I
implement [Rpc.State_rpc]
implement [Rpc.Pipe_rpc]
implement [Rpc.Rpc]
implement_multi [Versioned_rpc.Callee_converts.Pipe_rpc.S]
implement multiple versions at once
implement_multi [Versioned_rpc.Callee_converts.Rpc.S]
implement multiple versions at once
info [Log.Global_intf]
info [Log.Blocking]
info printf like logging at the `Info log level
info [Log]
info printf like logging at the `Info log level
invariant [Versioned_typed_tcp.Make.Server]
invariant [Tcp.Server]
is_closed [Tcp.Server]
is_closed [Rpc_intf.Connection]
is_locked [Lock_file]
is_locked path returns true when the file at path exists and is locked, false otherwise.

L
last_connect_error [Versioned_typed_tcp.S.Client]
last_connect_error t returns the error (if any) that happened on the last connection attempt.
last_connect_error [Versioned_typed_tcp.Make.Client]
length [Tcp_file.Client.Message]
None is returned in cases where the message cannot fit into a string (original message was a very large Bigstring
level [Log.Message]
listen [Versioned_typed_tcp.S.Client]
listen t
listen [Versioned_typed_tcp.S.Server]
listen t listen to the stream of messages and errors coming from clients
listen [Versioned_typed_tcp.Make.Client]
listen [Versioned_typed_tcp.Make.Server]
listen [Typed_tcp_intf.S]
listen_ignore_errors [Versioned_typed_tcp.S.Client]
listen_ignore_errors t like listen, but with no errors or meta data.
listen_ignore_errors [Versioned_typed_tcp.S.Server]
listen_ignore_errors t like listen, but omit error conditions and metadata.
listen_ignore_errors [Versioned_typed_tcp.Make.Client]
listen_ignore_errors [Versioned_typed_tcp.Make.Server]
listen_ignore_errors [Typed_tcp_intf.S]
listening_on [Tcp.Server]
load [Persistent_singleton.S]
load [Persistent_singleton.Make]
log [Log.Global_intf]
lookup_marshal_fun [Versioned_typed_tcp.Datumable]
lookup_marshal_fun v This function takes a version v, and returns a function that will downgrade (if necessary) the current version to v and then write it to a bigsubstring.
lookup_marshal_fun [Versioned_typed_tcp.Datumable_of_binable.Make_datumable5]
lookup_unmarshal_fun [Versioned_typed_tcp.Datumable]
lookup_unmarshal_fun v This function takes a version v, and returns a function that unmarshals a message and upgrades it, returning zero or more messages as a result of the upgrade.
lookup_unmarshal_fun [Versioned_typed_tcp.Datumable_of_binable.Make_datumable5]
low_version [Versioned_typed_tcp.Versions]
low_version [Versioned_typed_tcp.Datumable_of_binable.Pre_versions]

M
message [Log.Global_intf]
message [Log.Message]
message [Log]
monitor [File_writer]

N
name [Rpc.State_rpc]
name [Rpc.Pipe_rpc]
name [Rpc.Rpc]
the same values as were passed to create.
null [Rpc.Implementations]
a server that can handle no queries

O
of_lazy [Log.Global_intf]
of_lazy [Log]
of_lazy logging of lazy values.
of_v [Versioned_typed_tcp.Datumable_of_binable.V.S]
on_file [Tcp]
on_port [Tcp]
on_port_chosen_by_os [Tcp]
open_file [Tcp_file.Server]
open_file filename open a file for writing.

P
pipe [Log.Reader]
pipe format filename returns a pipe of all the messages in the log.
port [Versioned_typed_tcp.S.Server]
get the port that the server is listening on
port [Versioned_typed_tcp.Make.Server]
printf [Log.Global_intf]
printf [Log]
printf generalized printf style logging
prod_version [Versioned_typed_tcp.Versions]
prod_version [Versioned_typed_tcp.Datumable_of_binable.Pre_versions]
protocol_version [Versioned_typed_tcp]

R
raw [Log.Global_intf]
logging functions as the functions that operate on a given log.
raw [Log.Blocking]
raw printf like logging for raw (no level) messages.
raw [Log]
raw printf like logging for raw (no level) messages.
read [Typed_tcp_intf.Arg.Transport]
read [Tcp_file.Client]
read t filename provides a pipe that will be filled with messages from filename starting from the beginning, and continuing until the server calls unlink or close.
remove [Weak_hashtbl]
replace [Weak_hashtbl]
request [Versioned_rpc.Menu]
request an rpc version menu from an rpc connection
rotating_file [Log.Output]
rpc [Versioned_rpc.Callee_converts.Pipe_rpc.Make.Register]
rpc [Versioned_rpc.Callee_converts.Rpc.Make.Register]
rpc [Versioned_rpc.Caller_converts.Pipe_rpc.Make.Register]
rpc [Versioned_rpc.Caller_converts.Rpc.Make.Register]

S
save [Persistent_singleton.S]
save [Persistent_singleton.Make]
schedule_bigstring [File_writer]
schedule_message [Tcp_file.Server]
schedule_message t msg is write, but the message is taken from the provided bigstring.
screen [Log.Blocking.Output]
screen [Log.Output]
send [Versioned_typed_tcp.S.Client]
send t msg send a message to the server.
send [Versioned_typed_tcp.S.Server]
send t client msg send msg to client.
send [Versioned_typed_tcp.Make.Client]
send [Versioned_typed_tcp.Make.Server]
send [Typed_tcp_intf.S]
send_ignore_errors [Versioned_typed_tcp.S.Client]
send_ignore_errors t exactly like send but with no error reporting.
send_ignore_errors [Versioned_typed_tcp.S.Server]
send_ignore_errors t client msg Just like send, but does not report results.
send_ignore_errors [Versioned_typed_tcp.Make.Client]
send_ignore_errors [Versioned_typed_tcp.Make.Server]
send_ignore_errors [Typed_tcp_intf.S]
send_to_all [Versioned_typed_tcp.S.Server]
send_to_all t msg send the same message to all connected clients.
send_to_all [Versioned_typed_tcp.Make.Server]
send_to_all [Typed_tcp_intf.S]
send_to_all_ignore_errors [Versioned_typed_tcp.S.Server]
send_to_all_ignore_errors t msg Just like send_to_all but with no error reporting.
send_to_all_ignore_errors [Versioned_typed_tcp.Make.Server]
send_to_some [Versioned_typed_tcp.S.Server]
send_to_some t msg names send the same message to multiple connected clients.
send_to_some [Versioned_typed_tcp.Make.Server]
send_to_some_ignore_errors [Versioned_typed_tcp.S.Server]
send_to_some_ignore_errors t msg Just like send_to_some but with no error reporting.
send_to_some_ignore_errors [Versioned_typed_tcp.Make.Server]
serve [Tcp_file.Server]
serve ~port () must be called before clients will be able to connect.
serve [Rpc_intf.Connection]
serve implementations ~port ?on_handshake_error () starts a server with the given implementation on port.
serve_existing_static_file [Tcp_file.Server]
serve_existing_static_file filename adds filename to the list of files that can be accessed via the Client module.
server_with_close [Rpc_intf.Connection]
set_level [Log.Global_intf]
set_level [Log.Blocking]
set_level [Log]
set_level sets the level of the given log.
set_output [Log.Global_intf]
set_output [Log.Blocking]
set_output [Log]
set_output changes the output type of the log, which can be useful when daemonizing.
sexp [Log.Global_intf]
sexp [Log]
sexp logging of values without first converting them to a string.
sexp_of_t [Versioned_typed_tcp.Client_msg.Control]
sexp_of_t [Versioned_typed_tcp.Client_msg]
sexp_of_t [Versioned_typed_tcp.Server_msg.Control]
sexp_of_t [Versioned_typed_tcp.Read_result]
sexp_of_t [Versioned_typed_tcp.Dont_care_about_mode]
sexp_of_t [Unpack_sequence.Result]
sexp_of_t [Tcp_file.Client.Error]
sexp_of_t [Rpc.Implementation.Description]
sexp_of_t [Log.Rotation]
sexp_of_t [Log.Message]
sexp_of_t [Log.Level]
sexp_of_t [File_writer]
sexp_of_t [File_tail.Update]
sexp_of_t [File_tail.Warning]
sexp_of_t [File_tail.Error]
state [Versioned_typed_tcp.S.Client]
state t
state [Versioned_typed_tcp.Make.Client]
stop_serving [Tcp_file.Server]
stop_serving t stops serving the file t to clients.
supported_rpcs [Versioned_rpc.Menu]
find what rpcs are supported
supported_versions [Versioned_rpc.Menu]
find what versions of a particular rpc are supported

T
t_of_sexp [Versioned_typed_tcp.Client_msg.Control]
t_of_sexp [Versioned_typed_tcp.Client_msg]
t_of_sexp [Versioned_typed_tcp.Server_msg.Control]
t_of_sexp [Versioned_typed_tcp.Read_result]
t_of_sexp [Versioned_typed_tcp.Dont_care_about_mode]
t_of_sexp [Tcp_file.Client.Error]
t_of_sexp [Rpc.Implementation.Description]
t_of_sexp [Log.Rotation]
t_of_sexp [Log.Message]
t_of_sexp [Log.Level]
t_of_sexp__ [Versioned_typed_tcp.Client_msg.Control]
t_of_sexp__ [Versioned_typed_tcp.Client_msg]
t_of_sexp__ [Versioned_typed_tcp.Server_msg.Control]
t_of_sexp__ [Versioned_typed_tcp.Read_result]
t_of_sexp__ [Versioned_typed_tcp.Dont_care_about_mode]
t_of_sexp__ [Log.Level]
tags [Log.Message]
tail [Tcp_file.Client]
tail t filename same as read, but delivers messages starting at some unspecified point near the current end of the file and continuing until the server calls unlink or close.
test_version [Versioned_typed_tcp.Versions]
time [Log.Message]
to_bigstring [Tcp_file.Client.Message]
to_error [Unpack_sequence.Result]
to_file [Tcp]
to_host_and_port [Tcp]
to_string [Tcp_file.Client.Message]
to_string [Tcp_file.Client.Error]
to_string_exn [Tcp_file.Client.Message]
to_string_hum [File_tail.Update]
to_string_hum [File_tail.Warning]
to_string_hum [File_tail.Error]
to_v [Versioned_typed_tcp.Datumable_of_binable.V.S]

U
unpack_bin_prot_from_reader [Unpack_sequence]
unpack_from_reader [Unpack_sequence]
unpack_from_string_pipe [Unpack_sequence]
unpack_from_string_pipe unpack_buffer input returns (output, result), and uses unpack_buffer to unpack values from input until input is closed.

V
version [Rpc.Rpc]
versions [Versioned_rpc.Callee_converts.Pipe_rpc.S]
all versions supported by dispatch_multi.
versions [Versioned_rpc.Callee_converts.Rpc.S]
all versions implemented by implement_multi (useful for computing which old versions may be pruned)
versions [Versioned_rpc.Caller_converts.Pipe_rpc.S]
all versions supported by dispatch_multi.
versions [Versioned_rpc.Caller_converts.Rpc.S]
all versions supported by dispatch_multi.

W
waiting_create [Lock_file]
wait_create ~path ~message becomes determined when the file at path gets locked.
with_client [Rpc_intf.Connection]
with_client ~host ~port f connects to the server at (host,port) and runs f until an exception is thrown or until the returned Deferred is fulfilled.
with_close [Rpc_intf.Connection]
with_close tries to create a t using the given reader and writer.
with_connection [Tcp]
with_connection ~host ~port f looks up host from a string (using DNS as needed), connects, then calls f passing in a reader and a writer for the connected socket.
with_file [Tcp_file.Server]
with_file filename ~f opens filename and runs f, passing the resultant t.
write [Typed_tcp_intf.Arg.Transport]
write [File_writer]
write t s writes s to the file.
write_bigsubstring [File_writer]
write_bin_prot [File_writer]
write_message [Tcp_file.Server]
write_message t msg write msg to t.
write_sexp [Tcp_file.Server]
write_sexp t sexp writes a Sexp.t as a single message
write_sexp [File_writer]
write_substring [File_writer]
writer [Log.Output]
writer_monitor [Tcp_file.Server]
monitor t returns a monitor which will listen to errors arising from the internal writer used by t.