Par Winzell
fb4a28b2ed
Give Bureaus their own client object subclass. It does nothing at the moment, but we need it to be a distinct type for access control purposes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-12 15:36:46 +00:00
Michael Bayne
82da1521f3
I swear this was generating unchecked type warnings before, but it seems not to
...
be now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-11 01:21:45 +00:00
Michael Bayne
f6f5a86db0
Here too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-11 01:12:06 +00:00
Michael Bayne
4e01505dc5
We need the body here as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-10 01:05:49 +00:00
Michael Bayne
49f2bdb493
Extract occupant info adding into an overridable method so that derived classes
...
can both participate in the combined event that adds an occupant's info and can
coordinate whether their info is added before or after.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-10 01:04:05 +00:00
Michael Bayne
343a2a7026
Nix unread variable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-08 19:01:17 +00:00
Michael Bayne
92713ee4b8
Let's do our adding in a single event.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 22:03:04 +00:00
Michael Bayne
74bccd4223
Clean up occupant info creation and whatnot. Now we have a nice calldown method
...
bodyWillEnter() where the PlaceManager can do whatever they want when the body
enters, before or after the occupant info creation process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 22:01:25 +00:00
Michael Bayne
c793aff440
Unused import nixage.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 03:08:57 +00:00
Michael Bayne
12da80af98
Fix NameUpdater name.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 01:39:12 +00:00
Michael Bayne
6ece773295
NameUpdater not NameUpdate.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 01:38:40 +00:00
Michael Bayne
0942566fc3
Added a handy update for changing an occupant's name.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 01:31:30 +00:00
Michael Bayne
c116f93a7b
Fiddlesticks. Let's unify these update methods and do away entirely with the
...
old dangerous way of updating. We will now use only the timeless way.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-05 00:51:37 +00:00
Michael Bayne
62f393db95
Hold the phone. I already wrote this code. Sheesh.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-04 23:29:42 +00:00
Michael Bayne
420333df51
Made it easier to update occupant info the correct way in hopes of discouraging
...
people from updating it the wrong way.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-12-04 23:28:50 +00:00
Dave Hoover
e1afaccd23
Cleanup some unused stuff & mark some overrides.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5547 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-11-12 18:46:06 +00:00
Michael Bayne
f71613e3d6
We go to all the trouble of implementing ShutdownManager.Shutdowner, let's go
...
ahead and actually register ourselves with the ShutdownManager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5530 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-11-11 00:13:39 +00:00
Charlie Groves
a5a8272900
Cancel the shutdowner at the end of didShutdown in case shutting down emptied the room and caused it to schedule.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5522 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-11-07 22:44:25 +00:00
Michael Bayne
b81ccde75b
ClientFactory -> SessionFactory, etc.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5509 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-11-06 18:24:44 +00:00
Michael Bayne
c69630b7e0
PresentsClient -> PresentsSession (Jamie's suggestion) and associated changes
...
on down the client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5508 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-11-06 18:04:42 +00:00
Michael Bayne
a3e74276f5
Implement these listeners in helper classes rather than in ourselves where they
...
become undesirably part of our public interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5485 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-31 17:33:26 +00:00
Mike Thomas
f511469901
Purge the use of the getChatName() hack.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5482 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-29 22:26:56 +00:00
Dave Hoover
da52d29a0a
Javadoc nitpickery
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5478 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-28 20:37:28 +00:00
Michael Bayne
6fd2882fa9
Actually we need to set up our local attribute here.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5476 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-28 20:02:51 +00:00
Michael Bayne
d1be746bdb
Created ClientLocal and BodyLocal which is where we'll track server-only
...
information.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5474 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-28 17:55:17 +00:00
Mike Thomas
c4e0d1d278
Be a bit more flexible with the generics here.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5456 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-23 23:18:44 +00:00
Michael Bayne
de6558a25b
Guard against naughtiness, intentional and not.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5446 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-14 23:16:39 +00:00
Michael Bayne
f1b1a06834
Updated services.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5436 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-10 22:46:24 +00:00
Michael Bayne
97b6ea79c5
Moved BodyObject.username down to ClientObject.username so that one can look up
...
the PresentsClient given a ClientObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5435 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-10 22:45:58 +00:00
Mike Thomas
c4527b2524
Split out the "chat name" from the rest of the visible name usage - Unfortuantely, visible name is used by various game bits as a lookup, so sometimes we want to just override the name to display in chat without affecting those lookups.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-10 01:25:18 +00:00
Michael Bayne
e0aea87f62
Moved the Presents overview out of the javadocs. Added some simple top-level
...
pages which give us something useful to link to when we want to point to all of
the javadocs for a particular subtree of the Narya packages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5411 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-10-02 00:47:06 +00:00
Dave Hoover
657aafaedb
And of course, if I were thinking this morning, I would've rerun the organize imports
...
thing before committing instead of just going "oh yeah, I've been having this stuff
sitting around uncommitted for a while waiting on it to be blessed" and missing
out on things that'd changed in the meantime.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5400 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-09-26 17:35:29 +00:00
Dave Hoover
8856120403
Import cleanups
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5399 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-09-26 17:29:59 +00:00
Michael Bayne
6adabaf442
Close resolved channels that have been idle for 5 minutes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5383 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-09-18 18:07:19 +00:00
Michael Bayne
f139ec53f4
That injected service needs to be transient.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5381 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-09-17 23:08:28 +00:00
Dave Hoover
7ee6ace683
Javadoc warnings cleanups.
...
Note: this involves generated code from a samskivert patch I only just sent to mdb,
but he's in a meeting, so that won't show up for a little.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5369 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-09-12 17:59:26 +00:00
Charlie Groves
80ca1dbc64
Fix broken javadoc links and params to kill my Eclipse warnings. This includes
...
importing receivers from their senders to satisfy their links.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5333 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-08-21 01:46:51 +00:00
Michael Bayne
fcedbe90d7
Thread.dumpStack() circumvents whatever logging is configured and writes
...
directly to stderr. Logging an exception with the associated warning does the
right thing and logs the stack trace via the logging system.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5318 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-08-13 17:35:37 +00:00
Andrzej Kapolka
b323bf6bf9
I'm not exactly sure, but it looks like this should be flagged as
...
a singleton. At any rate, it fixes Project X, which we're
supposed to demo soon.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5317 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-08-12 20:50:02 +00:00
Nathan Curtis
c9e73fd320
unused import patrol
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5312 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-08-11 22:41:58 +00:00
Michael Bayne
421272f4f2
Basic framework for distributed chat channel system that does not use chat
...
channel distributed objects but rather resolves the location of all channel
participants on every message delivery so that we don't have to attempt the
very fragile process of having every server that hosts a channel participant
maintain a subscription to the chat channel object on another peer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5305 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-08-10 02:40:19 +00:00
Michael Bayne
29ada80ce5
Let's call a PlaceConfig a PlaceConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5282 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-08-01 14:38:01 +00:00
Par Winzell
3b032cacac
Move PlayManager*.java from crowd.server to parlor.server.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5280 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-31 17:28:09 +00:00
Par Winzell
b6b9786e17
We want to share delegates between GameManager games and AVRGameManager games, but AVRGameManager extends PlaceManager directly. This is the proposed solution: a PlayManager interface, and an associated PlaceManagerDelegate. I'm open for suggestions for better names.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5279 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-31 05:32:07 +00:00
Michael Bayne
bda7d04f4c
Peskily, Eclipse and javac disagreed about whether this unchecked suppression
...
was necessary (javac claimed it was, Eclipse claimed it wasnt'). Fortunately,
we can do everything with Class<FooClient> methods that avoid the need for
supression entirely.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-30 13:05:16 +00:00
Michael Bayne
725f656197
Fixed a bunch of type safety bits pointed out by the latest version of Eclipse.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5274 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-30 12:58:51 +00:00
Michael Bayne
4a9265410a
Inject dependencies into delegates supplied to PlaceRegistry.createPlace().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-23 12:15:52 +00:00
Michael Bayne
706b85a0e4
Regenerated with new code that properly simplifies generic type arguments.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-22 13:48:37 +00:00
Michael Bayne
c743432676
More style changes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-22 13:02:13 +00:00
Michael Bayne
09f8a25876
More style-related cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-07-22 12:51:17 +00:00