Dave Hoover
f32e7aa322
Auld Lang Syne
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6760 542714f4-19e9-0310-aa3c-eee0fc999fb1
2012-01-03 18:45:14 +00:00
Dave Hoover
a25a4d27d8
Out, vile dos line endings
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2012-01-03 18:44:50 +00:00
Par Winzell
d3c34a4a72
Match the Java side's cleanup functionality. This also helps Flash garbage collect properly.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6752 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-12-07 22:39:28 +00:00
Mike Thomas
1e109e44cd
Make the Actionscript Client able to use the same mechanism as the Java Client to adjust for clock difference between client & server.
...
This allows us to pass an expiration time from the server, and the client can appropriately turn that into a countdown timer to the appropriately adjusted time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-10-18 17:59:14 +00:00
Charlie Groves
b15a2d2471
Clear out the manager on the DObject when it's no longer active
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-10-10 04:14:45 +00:00
Charlie Groves
c32b1baa41
Import ordering
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-17 20:04:57 +00:00
Jamie Doornbos
8d31e1e15a
ObjectDeathAdapter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-16 17:53:58 +00:00
Jamie Doornbos
4ecc3e84af
Expose the DObject here. Then the client code needn't keep both a subscriber and an object lying around.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-16 17:51:55 +00:00
Charlie Groves
f187b92ae6
Updated import order for generated code
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-01 23:47:10 +00:00
Charlie Groves
24dda56d4c
Add isEmpty
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-29 06:37:10 +00:00
Charlie Groves
01a57a03bf
Parameterize InvocationService on the ClientObject type expected to call the service, and generate
...
InvocationProviders that take that type instead of just ClientObject.
Also, use the full set of import groupings no matter what. If that's the way we like it, that's the
way we like it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-07 21:10:49 +00:00
Jamie Doornbos
c707a6a7a6
Genservice with latest code. It looks like this causes a number of deltas:
...
* Removes Client import
* Moves java.util imports from the end of the list to the beginning
* Removes an extra blank line if there were no imports.
Also set eol-style to native
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6680 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 22:12:24 +00:00
Jamie Doornbos
8be7e992f0
Support serializing non-HashMap implementations of Map.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6678 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 21:33:34 +00:00
Charlie Groves
85262d498d
Bump to ooo-build 2.5 since the maven-ant-tasks jar 2.1 uses is no longer available
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6667 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-06-24 20:12:08 +00:00
Bruno Garcia
2873c31f45
ArrayUtil --> Arrays.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6660 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-06-17 22:18:08 +00:00
Charlie Groves
52023608c8
Allow downstream and upstream messages to be compounded
...
A client can collect a bunch of messages into a CompoundUpstreamMessage, which are unpacked and
dispatched in order by the server. The server collects any messages sent while processing that
compound message into a CompoundDownstreamMessage, which is unpacked and dispatched by the client.
This allows the client to indicate that it's going to send enough messages that it'd blow out the
throttle, but that it's doing so intentionally.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-06-16 03:37:08 +00:00
Charlie Groves
d18e1590a8
We've already checked the type of the required service, so don't require another cast
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-06-02 17:30:51 +00:00
Bruno Garcia
522194e592
Run genservice with my last change to placate Bamboo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-05-10 19:43:44 +00:00
Bruno Garcia
0891b9cc58
Speeling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6637 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-05-10 18:52:43 +00:00
Par Winzell
7faeb29c4f
Open ourselves up a bit, to let subclasses pass their own data through ObjectInputStream's handy clientProps functionality. A prime example: sending along an injection context to streamed objects.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6630 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-04-22 15:58:45 +00:00
Charlie Groves
c5a098119f
Use the convenience creation methods on ObserverList
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-04-05 21:01:02 +00:00
Charlie Groves
81bfee5132
Generate receivers and decoders for actionscript
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6507 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-02-26 02:04:06 +00:00
Tom Conkling
c3d9b3b238
Move these variables where they belong and add some documentation. Also apparently whitespace.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6506 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-02-21 23:05:08 +00:00
Tom Conkling
0a5751239f
Whoops, fix import ordering
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6488 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-02-09 20:52:05 +00:00
Tom Conkling
7dc50f23d6
Make Streamer.registerStreamer public, and add a warning if an existing Streamer is replaced.
...
(In Who, we need to stream com.threerings.geom.Vector2, so we need a custom Streamer for it)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6487 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-02-09 20:50:52 +00:00
Par Winzell
8b3bb03751
Import fix.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6471 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-01-30 05:43:03 +00:00
Charlie Groves
2c17d66f02
Add the messageReceived and destroyed signals to DObject rather than generating them. If they were generated, subclassing would fail on field conflicts.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6470 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-01-28 19:33:46 +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
82978427ff
We can get rid of our C++ backwards compatibility business now that we've
...
shipped that to our 1.3 release.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6372 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-10 18:02:10 +00:00
Par Winzell
5ece835d99
Unfortunately the temporary hack on the Java side of things needs to be matched here as well, or my production build will fall over and die.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6365 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-12-10 05:57:27 +00:00
Par Winzell
eb9e0db930
MDB reassures me it's safe to assume the client is a CrowdClient here, which makes the function short enough to inline. Also rename _auxobj to _bodyobj.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6322 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 19:07:56 +00:00
Michael Bayne
22288e0b4c
Match our changes on the ActionScript side.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6321 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 18:47:10 +00:00
Par Winzell
7af21e2aa0
Recent server-side work has tried to evolve away from the assumption that the ClientObject you log in with is necessarily the BodyObject you drive around the world.
...
This client-side commit matches the new BodyLocator.forClient() method on the server by the addition of CrowdClient.bodyOf(), which should be subclassed by anyone who wants to do anything fancy.
The default implementation is just for the client to cast itself to BodyObject, matching the default (and historical) implementation in BodyLocator.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6317 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 16:38:38 +00:00
Charlie Groves
c0fb9e52c1
Credentials aren't required to create a Client
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6306 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-25 01:32:35 +00:00
Michael Bayne
34722f2ce9
Obtain our ActionScript dependencies from Maven as well, and publish our swc
...
artifacts thereto.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6289 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 20:50:09 +00:00