Module machi_pb_high_client

Machi PB (Protocol Buffers) high-level client (prototype, API TBD).

Description

Machi PB (Protocol Buffers) high-level client (prototype, API TBD)

At the moment, this is brittle-prototype-quality code: the API is not yet fully specified, there is very little error handling with respect to a single socket connection, and there is no code to deal with multiple connections/load balancing/error handling to several/all Machi cluster servers.

Function Index

append_chunk/6
append_chunk/7
auth/3
auth/4
checksum_list/2
checksum_list/3
code_change/3
connected_p/1
convert_general_status_code/1
echo/2
echo/3
handle_call/3
handle_cast/2
handle_info/2
init/1
list_files/1
list_files/2
quit/1
read_chunk/4
read_chunk/5
start_link/1
terminate/2
write_chunk/5
write_chunk/6

Function Details

append_chunk/6

append_chunk(PidSpec, PlacementKey, Prefix, Chunk, CSum, ChunkExtra) -> any()

append_chunk/7

append_chunk(PidSpec, PlacementKey, Prefix, Chunk, CSum, ChunkExtra, Timeout) -> any()

auth/3

auth(PidSpec, User, Pass) -> any()

auth/4

auth(PidSpec, User, Pass, Timeout) -> any()

checksum_list/2

checksum_list(PidSpec, File) -> any()

checksum_list/3

checksum_list(PidSpec, File, Timeout) -> any()

code_change/3

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

connected_p/1

connected_p(PidSpec) -> any()

convert_general_status_code/1

convert_general_status_code(X1) -> any()

echo/2

echo(PidSpec, String) -> any()

echo/3

echo(PidSpec, String, Timeout) -> any()

handle_call/3

handle_call(Request, From, S) -> any()

handle_cast/2

handle_cast(Msg, S) -> any()

handle_info/2

handle_info(Info, S) -> any()

init/1

init(X1) -> any()

list_files/1

list_files(PidSpec) -> any()

list_files/2

list_files(PidSpec, Timeout) -> any()

quit/1

quit(PidSpec) -> any()

read_chunk/4

read_chunk(PidSpec, File, Offset, Size) -> any()

read_chunk/5

read_chunk(PidSpec, File, Offset, Size, Timeout) -> any()

start_link/1

start_link(P_srvr_list) -> any()

terminate/2

terminate(Reason, S) -> any()

write_chunk/5

write_chunk(PidSpec, File, Offset, Chunk, CSum) -> any()

write_chunk/6

write_chunk(PidSpec, File, Offset, Chunk, CSum, Timeout) -> any()


Generated by EDoc, Jun 25 2015, 16:39:10.