forked from I2P_Developers/i2p.i2p
javadoc: Add message flow chart
This commit is contained in:
@@ -14,5 +14,42 @@ Subject to change. Not necessarily maintained as a stable API.
|
|||||||
For applications bundling the I2P router, instantiate Router and call runRouter(), or use Router.main() or RouterLaunch.
|
For applications bundling the I2P router, instantiate Router and call runRouter(), or use Router.main() or RouterLaunch.
|
||||||
Most public methods in Router are maintained as a stable I2P for those bundling the router.
|
Most public methods in Router are maintained as a stable I2P for those bundling the router.
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
Message flow:
|
||||||
|
<pre>
|
||||||
|
|
||||||
|
|
||||||
|
NTCP2
|
||||||
|
Per-Conn
|
||||||
|
|
||||||
|
/--- Pri Queue )
|
||||||
|
NTCP2 / . ) NTCP2
|
||||||
|
/ . )
|
||||||
|
kernel -> NIO -> Reader -------------------------\ / . ) --------------------------------------- -- Writer -> NIO -> Kernel
|
||||||
|
\ Tunnels / . ) \ /
|
||||||
|
\ / . ) \ /
|
||||||
|
\ /-- RED - Codel/Pri - Frag - \ / . ) \ /
|
||||||
|
\ IBGW / Queue \ / \ /
|
||||||
|
\ / \ / \ /
|
||||||
|
\ / \ / \ /
|
||||||
|
\ / Middle hop \ / Bandwidth
|
||||||
|
-> In Net --------------------- RED ------------------Out Net Limiter
|
||||||
|
/ Msg Pool \ / Msg Pool / \
|
||||||
|
/ \ / \ / \
|
||||||
|
/ \ / \ / \
|
||||||
|
SSU / OBEP \ / \ / \
|
||||||
|
/ \ / \ / \
|
||||||
|
kernel -> Reader -> Codel -----------------> Codel - --------------------- RED - \ / \
|
||||||
|
Queue \ / Queue \ / \ SSU / \
|
||||||
|
\ / \ / \ Per-Conn / \
|
||||||
|
Reasssembly Reasssembly \ / \
|
||||||
|
\--> Pri Queue -> Frag -> Window/ ) / \
|
||||||
|
ReTX ) / \ SSU
|
||||||
|
. ) / \
|
||||||
|
. ) - OMF - Codel - - Writer -> Kernel
|
||||||
|
. ) Queue
|
||||||
|
. )
|
||||||
|
. )
|
||||||
|
</pre>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user