Andrzej Kapolka
179bd880c6
I was wondering why the connection ids were all over the place.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6626 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-04-20 03:20:14 +00:00
Andrzej Kapolka
2a5da18f20
Allow customizing the ServerSocketChannelAcceptor to configure the socket
...
differently (specifically, we want to enable SO_REUSEADDR in Spiral Knights).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6625 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-04-12 01:23:53 +00:00
Michael Bayne
7c07bfcedc
register() already puts our mapping in the _handlers table.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-03-29 20:02:00 +00:00
Charlie Groves
74b598fc02
Add a main to PolicyServer that binds on the master port by default
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6541 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-03-22 07:09:43 +00:00
Michael Bayne
217927de2b
A variety of javadoc fixes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6533 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-03-15 18:17:09 +00:00
Dave Hoover
568765dd13
Whitespace
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6517 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-03-07 19:55:59 +00:00
Dave Hoover
02899d1083
Auld Lang Syne
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6407 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-01-01 05:02:21 +00:00
Michael Bayne
127e388349
Unused import nixage.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6400 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-31 22:36:46 +00:00
Michael Bayne
884ffabddc
We need the current timestamp to report proper idle duration.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6386 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-16 02:22:21 +00:00
Michael Bayne
74c2c77443
Passing in the timestamp that dictates idleness allows us to propagate the idle
...
duration a bit less far. And Ray will be pleased to know that we're doing much
less redundant arithmetic.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6385 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-16 02:18:53 +00:00
Charlie Groves
6a45fec4ea
Don't let presents' ping interval into Connection
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6384 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-16 01:59:47 +00:00
Charlie Groves
68f8a577e9
Don't depend on presents
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6378 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-15 00:37:10 +00:00
Charlie Groves
f12887ae87
Don't require that ConnectionManager be a Reporter
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6377 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-15 00:31:29 +00:00
Charlie Groves
c4d108b1f7
Bind on all interfaces and allow connections from any host
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6307 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-25 01:35:06 +00:00
Charlie Groves
8f04fe102d
We're not restricting things to a set of ports, so don't act like we're going to.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6299 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 02:29:26 +00:00
Charlie Groves
08c1051809
Java 1.5, bane of my existence
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6271 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 04:06:06 +00:00
Charlie Groves
544d41d24d
Make ConnectionManager a general-purpose select server and implement a flash Policy server with it.
...
The presents-specific portions of ConnectionManager like reading Message subclasses and sending
datagrams are now in PresentsConnectionManager. PresentsServer should behave identically, except
during shutdown. Before, connections would be accepted and datagrams would be read until the OMgr
thread exited. Now, both stop as soon as the server begins its shutdown. This seems like an
improvement to me, but let me know if it causes issues and I can rework it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 03:33:45 +00:00
Michael Bayne
9d2ca42eac
Convert Narya (most of the way) over to a Maven Ant task based build. The
...
ActionScript bits remain belligerent, but the Java stuff is mostly shipshape.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6222 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-22 21:12:29 +00:00