Commit Graph

666 Commits

Author SHA1 Message Date
3d91e59386 la la la 2004-04-24 12:38:21 +00:00
393b1d7674 big ol' update to strip out the singletons, replacing them with
a rooted app context.  The core itself has its own I2PAppContext
(see its javadoc for, uh, docs), and the router extends that to
expose the router's singletons.  The main point of this is to
make it so that we can run multiple routers in the same JVM, even
to allow different apps in the same JVM to switch singleton
implementations (e.g. run some routers with one set of profile
calculators, and other routers with a different one).
There is still some work to be done regarding the actual boot up
of multiple routers in a JVM, as well as their configuration,
though the plan is to have the RouterContext override the
I2PAppContext's getProperty/getPropertyNames methods to read from
a config file (seperate ones per context) instead of using the
System.getProperty that the base I2PAppContext uses.
Once the multi-router is working, i'll shim in a VMCommSystem
that doesn't depend upon sockets or threads to read/write (and
that uses configurable message send delays / disconnects / etc,
perhaps using data from the routerContext.getProperty to drive it).
I could hold off until the sim is all working, but there's a
truckload of changes in here and I hate dealing with conflicts ;)
Everything works - I've been running 'er for a while and kicked
the tires a bit, but if you see something amiss, please let me
know.
2004-04-24 11:54:35 +00:00
64b94ab124 0.3.0.4 (backwards compatible, release info / docs / etc coming later today [is today tuesday already?] 2004-04-20 09:18:53 +00:00
3658cca3e5 Further simplified I2P repliable datagram format: they now contain
senderPubDest + S(H(payload)) + payload
(human)
2004-04-19 21:43:06 +00:00
ccb309fd92 I2P repliable datagrams 2004-04-17 23:16:28 +00:00
a47c7b8f27 always send as a guaranteed message (but block as before) - this lets
udp-esque users get transparent sessionKey/sessionTag management.  we'll
probably refactor mode=guaranteed/best_effort into two concepts later,
dealing with blocking and encryption seperately.
logging and formatting fixes
2004-04-17 00:13:28 +00:00
a859908e83 handle repeated attempts to close() gracefully
logging, formatting
2004-04-17 00:04:38 +00:00
66ad54fbf0 Made logs actually go through I2P logging system
(human)
2004-04-13 04:15:46 +00:00
3d294d5771 fix javadoc warning: no @return on void functions
(shendaras)
2004-04-12 10:26:42 +00:00
a72e479e50 scoping so the test classes are reachable outside the current package 2004-04-10 13:37:29 +00:00
8a8e68146f beginning of format, updated imports. (shendaras) 2004-04-10 11:39:00 +00:00
ee119de6c4 javadoc fix 2004-04-10 04:06:47 +00:00
f37c0ed612 name all threads, and (nearly) always use I2PThread (in case we add some pooling/throttling/monitoring or whatnot later) 2004-04-09 01:22:04 +00:00
be13c14376 javadoc cleanup to remove those damn warnings 2004-04-08 09:07:53 +00:00
2e3fd0abf2 great renaming (cont.) 2004-04-08 04:54:58 +00:00
e40b94c875 great renaming (cont.) 2004-04-08 04:48:39 +00:00