Michael Bayne
b164f2abc6
No need to tell subscribers about lock release.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@173 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:05:12 +00:00
Michael Bayne
8d5beffad7
Fixed a bug with removing oids.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:04:49 +00:00
Michael Bayne
7873ee98f7
Added facilities for creating named locks on distributed objects that will
...
allow services to prevent repeated invocations of themselves from stepping
on one another because of the serial nature of event processing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@171 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:39:44 +00:00
Michael Bayne
a831089362
Revamped toString() to be more derived class friendly. Added a
...
ReleaseLockEvent which will be used by the distributed object locking
facilities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@169 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:32:11 +00:00
Michael Bayne
ae73c73ac4
Commented out debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@158 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:12:27 +00:00
Michael Bayne
ba74e4600b
Modified toString() to be extensible.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 06:01:13 +00:00
Michael Bayne
59ad4a7955
Added support for marshalling oid lists.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:09:21 +00:00
Michael Bayne
9d93650b65
Fixed javadoc @see syntax.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@143 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 04:49:08 +00:00
Michael Bayne
3798a6a763
requestOid{Add|Remove}(): called by (eventually automatically generated)
...
derived classes to add/remove oids to/from an oid list field.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:11:48 +00:00
Michael Bayne
6c8c08a033
Removed unneeded imports.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:09:55 +00:00
Michael Bayne
b6a8e3d598
Added oid lists and the ability to add and remove oids from them
...
(incomplete).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@99 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:06:49 +00:00
Michael Bayne
e912b18e27
toString()stravaganza!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@77 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:30:14 +00:00
Michael Bayne
359af834ae
Use StringUtil.toString() to toString() our args array so that it is
...
readable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@75 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:17:06 +00:00
Michael Bayne
f8ccff8f23
More progress on the invocation services.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@74 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:08:20 +00:00
Michael Bayne
6663aae772
Beginnings of invocation services implementation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@67 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 05:56:20 +00:00
Michael Bayne
7cb9d84d54
Wired up the remainder of event dispatch and added facilities for cleaning
...
up after objects when they have no more subscribers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@38 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:17:55 +00:00
Michael Bayne
55a648dcf9
These need zero argument constructors to allow for unserialization.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@36 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:15:49 +00:00
Michael Bayne
c8b13e3bca
Documented valid dobj types in DObject; implemented value marshaller which
...
can read and write all of the valid dobj types over the network; wired up
the attribute changed events to serialize and unserialize their values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@35 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-12 02:57:30 +00:00
Michael Bayne
89083f4708
Moved the typed object registry into the same package with the rest of
...
the typed object stuff; made events typed so they can be transported;
further wiring up of event dispatch over the network.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@34 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-11 17:44:04 +00:00
Michael Bayne
a8bddf0238
Moved dobj.net into dobj.io because it's really I/O stuff we're doing
...
here, not explicitly network stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@33 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-11 17:42:20 +00:00
Michael Bayne
6a1de87f2a
Further wired up the client side of the distributed object system. Removed
...
the facilities for fetching (without subscribing to) an object. This is
done extremely rarely and the user might as well just subscribe and
immediately unsubscribe because the dichotomy between fetching and
subscribing just served to overly complicate the internals for no good
reason.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@30 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-09 23:39:04 +00:00
Michael Bayne
029712985e
DObjectManager: added unsubscribeFromObject() for subscribers that wish to
...
unsubscribe in the absence of a reference to the object in question and
potentially from an unsavory thread.
Client, ClientManager, etc.: Further work on the server-side of the
distributed part of the distributed object functionality.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@27 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 22:44:31 +00:00
Michael Bayne
43c516ab24
Removed last traces of Event which is now DEvent.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@23 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-02 01:31:43 +00:00
Michael Bayne
1c6b292edc
Starting to wire up client/server dobj stuff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@22 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-02 01:30:37 +00:00
Michael Bayne
1929898dd8
More juicy goodness. Event dispatch seems to work now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@20 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 20:35:39 +00:00
Michael Bayne
45c2dc143f
More progress on the distributed object stuff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@19 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 19:56:13 +00:00
Michael Bayne
825b36c0ff
Beginnings of event stuff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@18 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 07:12:13 +00:00
Michael Bayne
b6d12bc06d
Mmm... comments and updates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@17 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 05:17:16 +00:00
Michael Bayne
567a2ada10
More progress on the basic distributed object facilities.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@16 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 05:01:52 +00:00
Michael Bayne
89d073b13c
Switched package from com.samskivert to com.threerings.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@12 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 23:58:31 +00:00
Michael Bayne
9cd146a43c
Created the facilities for transmitting distributed objects and derived
...
classes over the wire (by inspecting their fields and sending those
directly).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@8 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 00:16:00 +00:00
Michael Bayne
33d93d3374
Har! More progress mateys.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-29 03:27:59 +00:00
Michael Bayne
6717f8d6e5
More code, more code, more kibbles and code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-23 04:03:41 +00:00
Michael Bayne
f8f3645f67
Further progress. Heeya!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-22 21:51:29 +00:00
Michael Bayne
40ecd80e09
Initial revision of cocktail multiplayer networked gaming platform. (Far
...
from complete.)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-22 06:08:00 +00:00