Commit Graph

161 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 9aacb97156 Message
- Documented `decode(byte[] dataIn, ref Message decoded)`
2024-01-29 21:59:12 +02:00
Tristan B. Velloza Kildaire d0de2c1842 Router (unittests)
- Removed redundant imports
2024-01-29 19:53:36 +02:00
Tristan B. Velloza Kildaire d3dc83766a Router (unittests)
- Removed redundant imports
2024-01-29 19:52:03 +02:00
Tristan B. Velloza Kildaire 1cfe8e0166 Arp (unittests)
- Removed redundant imports
2024-01-29 19:51:41 +02:00
Tristan B. Velloza Kildaire 508226d9f9 Docs
- Updated section for routeing
2024-01-28 16:06:26 +02:00
Tristan B. Velloza Kildaire b07fec978f Router
- Fixed `routeSweep()` to not expire self-routes
2024-01-28 16:03:23 +02:00
Tristan B. Velloza Kildaire e55468712c Message
- Documented two fields
- Documented `encode(Message mIn)` and `encode()`
- Fixed `decode(byte[] dataIn, ref Message decoded)` such that it won't crash on bad decode
2024-01-28 15:52:17 +02:00
Tristan B. Velloza Kildaire b10c938482 Docs
- Moved
- Updated PDF
2024-01-28 14:34:43 +02:00
Tristan B. Velloza Kildaire 30b4b65a18 MType
- Documented enum
2024-01-28 14:33:52 +02:00
Tristan B. Velloza Kildaire 71242f6b5d Docs
- Added information about how we process messages
2024-01-26 16:05:08 +02:00
Tristan B. Velloza Kildaire d3b2b1dab9 Docs
- Updated pdf
2024-01-25 19:09:17 +02:00
Tristan B. Velloza Kildaire 08b8a0291f Docs
- Documented the the `LinkManager`
2024-01-25 19:07:38 +02:00
Tristan B. Velloza Kildaire 6a322cf5ab LinkManagaer
- Cleaned up
2024-01-25 18:58:38 +02:00
Tristan B. Velloza Kildaire 7a4ee31a99 LinkManager
- Fixed documentation
2024-01-25 18:57:24 +02:00
Tristan B. Velloza Kildaire d7b80278bd LinkManager
- Documented
- Implemented `removeLink(Link link)`
2024-01-25 18:52:57 +02:00
Tristan B. Velloza Kildaire 4db7462458 Router
- Documented `routeSweep()`
- Removed now-completed TODO in `advertiseLoop()`
2024-01-25 18:13:28 +02:00
Tristan B. Velloza Kildaire 2e665cfc00 Docs
- Cleaned up
2024-01-25 18:12:55 +02:00
Tristan B. Velloza Kildaire 2093b50171 Docs
- Updated routing section
2024-01-25 18:12:25 +02:00
Tristan B. Velloza Kildaire 0089ce4b0d Docs
- Regenerated
2024-01-24 20:22:48 +02:00
Tristan B. Velloza Kildaire 9cfebdbefe Docs
- Fixed typos
2024-01-24 20:22:31 +02:00
Tristan B. Velloza Kildaire 64cb1f7d2d Docs
- Added routing table information
2024-01-24 20:22:13 +02:00
Tristan B. Velloza Kildaire a3fc8b4f5e LLInterface
- Formatted
2024-01-24 15:21:21 +02:00
Tristan B. Velloza Kildaire 15b13b6e58 App
- Broadcast to `"desktop"` (as a test) if identity is `"laptop"`
2024-01-23 21:40:03 +02:00
Tristan B. Velloza Kildaire ec8e155eb7 LLInterface
- `getAddress()` no longer returns the `InterfaceInfo`'s address and no port, no we want the finally-bound address hence we derive this from the `peerSock` and APPEND that to the `InterfaceInfo`'s address (this also means we get the port then)
- Implemented `getAddress_fromStringWithKak(string addr)`
- `transmit(byte[] xmit, string addr)` now fixed when transmitting as we needed to remove the `[]` from the addresses and then extract the port and return an `Address`
- `broadcast(byte[] xmit)` we send using the `peerSock` to the broadcast address (although it's probably fine to use either)
- `mcastLoop()` now passes all received broadcasts up to the attached `Receiver`(s)
- `peerLoop()` now handles incoming peer-destined data and passes it up to the attached `Receiver`(s)
2024-01-23 21:39:46 +02:00
Tristan B. Velloza Kildaire d64677895d Docs
- Updated
2024-01-23 21:32:20 +02:00
Tristan B. Velloza Kildaire ada91b2355 Link
- Documented methods
2024-01-23 19:38:19 +02:00
Tristan B. Velloza Kildaire 2e1108ea31 Docs
- Fixed typo
2024-01-23 19:33:52 +02:00
Tristan B. Velloza Kildaire da114e1793 Receiver
- Documented interface
2024-01-23 19:29:41 +02:00
Tristan B. Velloza Kildaire 29940a90b0 Docs
- Added information on the `Receiver` interface
2024-01-23 19:29:24 +02:00
Tristan B. Velloza Kildaire 8bb3801548 Docs
- Updated PDF
2024-01-23 19:20:42 +02:00
Tristan B. Velloza Kildaire deb4d52a80 Docs
- Added information on links and driver implementation
2024-01-23 19:20:31 +02:00
Tristan B. Velloza Kildaire 1c629681a2 Docs
- Updated
2024-01-22 21:48:23 +02:00
Tristan B. Velloza Kildaire 56bd7501f6 Doc
- Added information of available methods and how route equality works
2024-01-22 21:40:35 +02:00
Tristan B. Velloza Kildaire a8f30228ed Route
- Commented fields
2024-01-22 21:27:35 +02:00
Tristan B. Velloza Kildaire 89d8025e98 DOcs
- Added some information on the `Route`
2024-01-22 21:27:23 +02:00
Tristan B. Velloza Kildaire 1d46a76e7d Router
- Fixed `routeSweep()`
2024-01-22 18:46:08 +02:00
Tristan B. Velloza Kildaire 6c765450e6 Router
- Added `routeSweep()`
- `advertiseLoop()` now calls `routeSweep()`
2024-01-22 18:41:01 +02:00
Tristan B. Velloza Kildaire 0d8d2ec242 Route
- Finished all documentation
2024-01-21 15:28:59 +02:00
Tristan B. Velloza Kildaire 311f4d388f Route
- Documented
2024-01-21 14:15:02 +02:00
Tristan B. Velloza Kildaire ffef54d98f Route
- Removed `const`
2024-01-21 14:09:53 +02:00
Tristan B. Velloza Kildaire 7c38b56384 Route
- Documented
2024-01-21 14:09:37 +02:00
Tristan B. Velloza Kildaire 3acc85093b Docs
- Removed TODO
2024-01-21 12:16:56 +02:00
Tristan B. Velloza Kildaire 5501d5f23b Docs
- Added more information about arp
2024-01-21 12:14:57 +02:00
Tristan B. Velloza Kildaire a431aaad60 Router
- Documented `getRoutes()`
2024-01-20 23:42:33 +02:00
Tristan B. Velloza Kildaire 9cbadcbc30 Router
- Documented `installSelfRoute()`
2024-01-20 23:41:57 +02:00
Tristan B. Velloza Kildaire 51d9d0bff2 Route
- Documented `handle_ADV(Link link, Message recvMesg)`
2024-01-20 23:41:17 +02:00
Tristan B. Velloza Kildaire 5a7eac1584 Router
- Documented `dumpRoutes()`
2024-01-20 23:40:33 +02:00
Tristan B. Velloza Kildaire 301309a8fd Route
- Documented `sendData(byte[] payload, string to)`
2024-01-20 23:37:47 +02:00
Tristan B. Velloza Kildaire 5081758ab6 Route
- Documented `onReceive(Link link, byte[] data, string srcAddr)`
2024-01-20 23:25:37 +02:00
Tristan B. Velloza Kildaire 60e0cffff0 Router
- Documented `handle_ARP(Link link, string srcAddr, Message recvMesg)`
2024-01-20 23:21:36 +02:00