Commit Graph

75 Commits

Author SHA1 Message Date
rachel-rose
2b78f0adb2 merged src/net/error.rs with src/error.rs. deleted src/net/error and updated all code in /net to accept change 2021-05-20 20:36:45 +02:00
rachel-rose
caaeecc36b refactored src/error.rs to work with 'clone'. changed error macros in
async-serial.rs and serial.rs to reflect this change. updated all files
with new error handling.
2021-05-20 11:44:38 +02:00
rachel-rose
7c9b4dc18b completed high level docs for mod.rs on /net module and submodules /protocols and /sessions. 2021-04-07 17:22:49 +02:00
rachel-rose
82229ac063 more verbose doc on each protocol. explains the role of each protocol in a network connection. 2021-04-06 11:26:23 +02:00
rachel-rose
b890e1dc5f edited documentation on session components to be more verbose and descriptive 2021-04-05 12:44:29 +02:00
rachel-rose
78816ccb61 more verbose documentation edit on p2p.rs. summarizes interface utlities 2021-04-05 09:59:01 +02:00
rachel-rose
63c9bf6907 more verbose documentation edit on the message subscriber subsystem 2021-04-05 08:54:02 +02:00
rachel-rose
03acb27c40 more verbose documentation on all functions in channel.rs 2021-04-05 08:52:51 +02:00
rachel-rose
95c40e4a5a ran cargo fmt w new defaults 2021-04-04 09:22:59 +02:00
rachel-rose
9d00c6154c made random function private 2021-04-03 09:37:57 +02:00
rachel-rose
2a8ea35f39 removed 'default' from setting doc 2021-03-28 14:22:10 +02:00
rachel-rose
b6cfb5a6fd fixed formatting on messages 2021-03-28 14:21:36 +02:00
rachel-rose
a1723cdf9d documented 'broadcast' function in p2p 2021-03-28 14:19:19 +02:00
rachel-rose
ec06730e8e fixed formatting on message subscription doc 2021-03-28 14:16:30 +02:00
rachel-rose
542d4e3a3a fixed formatting on acceptor doc 2021-03-28 14:14:14 +02:00
rachel-rose
698572e5cd fixed session doc to work with inline tool 2021-03-28 14:10:31 +02:00
rachel-rose
02d6b4e0d1 fixed protocol doc formatting to work with inline tool 2021-03-28 14:03:13 +02:00
rachel-rose
7be0a94bc3 ran cargo fmt 2021-03-27 18:44:52 +01:00
rachel-rose
b2a100234f doc for session trait 2021-03-27 15:44:23 +01:00
rachel-rose
06c922bd6d quick documentation of seed protocol 2021-03-27 15:36:15 +01:00
rachel-rose
419833f6c0 documented protocol ping-pong behavior 2021-03-27 13:30:17 +01:00
rachel-rose
287e83d802 documented protocol version behavior 2021-03-27 13:13:47 +01:00
rachel-rose
19ec3e0dcf documented protocol address behavior 2021-03-27 12:52:52 +01:00
rachel-rose
c617931dc2 function documentation for jobman 2021-03-27 11:42:13 +01:00
rachel-rose
c0fb85f0cf cleaned up bad formatting 2021-03-27 11:17:19 +01:00
rachel-rose
85abce946a doc for inbound session completed 2021-03-27 11:16:15 +01:00
rachel-rose
7430ae63dc tweaked 'start' documentation to be more verbose 2021-03-27 11:02:26 +01:00
rachel-rose
e0f9e82d51 core function documentation complete 2021-03-27 10:49:29 +01:00
rachel-rose
1b8253fe02 renamed 'is_inbound_addrs' to 'is_self_inbound' for clarity 2021-03-27 10:29:46 +01:00
rachel-rose
e82496d3fb specified that 'exists' function refers to connected channels 2021-03-27 10:20:14 +01:00
rachel-rose
cf21ef9fae documented all major functions 2021-03-27 09:55:31 +01:00
rachel-rose
8039d095cb tweaked language 2021-03-27 09:41:47 +01:00
rachel-rose
13a1cfbea0 Merge branch 'master' of github.com:narodnik/sapvi 2021-03-27 09:32:52 +01:00
narodnik
1afc4269de cleanup code and run cargo fmt 2021-03-26 17:03:08 +01:00
rachel-rose
1e51fd2680 initial documentation on protocol code 2021-03-26 17:01:04 +01:00
rachel-rose
7c1efd0a60 documentating session code 2021-03-26 17:00:25 +01:00
rachel-rose
28accdb1c0 documented session functions 2021-03-26 12:49:29 +01:00
ghassmo
2a3abaa573 add broadcast() function 2021-03-20 21:19:02 +03:00
narodnik
bea00aeb9a add default settings in net/ 2021-03-20 11:57:25 +01:00
rachel-rose
1d4c947627 Merge branch 'master' of github.com:narodnik/sapvi 2021-03-20 11:50:42 +01:00
rachel-rose
7699206e86 first draft of net module documentation is complete 2021-03-20 11:39:48 +01:00
ghassmo
4de4b3ad22 add get_message_subsystem() function 2021-03-13 13:07:40 +03:00
narodnik
41376c30f1 hosts: don't store address if we already have it 2021-03-07 09:45:04 +01:00
narodnik
6bb1f7fb28 add p2p::subscribe_channel() and improve subscriber semantics. 2021-03-07 09:35:52 +01:00
narodnik
5934940f36 Improve code and add comments 2021-03-06 18:06:16 +01:00
narodnik
b12d38bdc7 tidy up the code 2021-03-06 11:58:42 +01:00
narodnik
5555f4f4a0 remove old send code and message type 2021-03-06 11:30:49 +01:00
narodnik
70ef7b6175 fixed broken dispatch bug (command names for send were Version instead of version) 2021-03-06 10:40:00 +01:00
narodnik
4e5b844ba9 integrate new message subsystem 2021-03-06 09:28:50 +01:00
narodnik
1431e17a2d trigger and propagate errors 2021-03-06 07:54:02 +01:00