Commit Graph

56 Commits

Author SHA1 Message Date
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 d718b2000b Register the OidListFieldMarshaller.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@149 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:13:29 +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 a8ef12d483 Whoops. Was putting wrong thing in client map.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 17:59:30 +00:00
Michael Bayne 14d47f8c85 Allow credentials to be set after creating the client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 00:51:05 +00:00
Michael Bayne 0c59e20f23 Logon not login.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 00:26:44 +00:00
Michael Bayne b56a70ff34 Allow configuration to use derived class for Client and ClientObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:13:56 +00:00
Michael Bayne b22d3bb9bd Added convenience function for zero-argument response.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:13:29 +00:00
Michael Bayne 1c8e363f98 Preparing for the additions that will allow oid list tracking facilities
to be put in place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:12:55 +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 398362623b Added comments that explain the temporal validity constraints on the
objects available via the context.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@98 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:06:24 +00:00
Michael Bayne 1f610d73e9 Log class jockeying; implemented a test client at the party layer that
does proper context object creation; small progress on locmgr stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@95 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 23:23:50 +00:00
Michael Bayne 581e773eb7 Created a CherContext which will be supplied to code that makes use of the
cher services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@91 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 19:49:06 +00:00
Michael Bayne 5678b1edb6 Added code to load up configuration information at server init time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@78 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 21:29:01 +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 41488822dc Modified invocation request procedure to provide a reference to the client
object that initiated the request. Implemented the invocation notification
side of things.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@76 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:18:07 +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 406d181d1a Use a one second select loop delay for testing purposes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@73 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:06:57 +00:00
Michael Bayne d55ce27b2b Created a test service and provider and sorted out further details.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@71 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:48:25 +00:00
Michael Bayne 7238d75f89 Initialize _clobj member directly; pass proper subscriber to
createObject().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@69 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:17:46 +00:00
Michael Bayne 915f3db6f1 More work on invocation manager; modified startup sequence so that server
can get shit together before bootstrapping the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@68 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:09:16 +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 6fd554de7c Be more verbose about logging typed object errors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@37 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:16:25 +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 a1b7b00db3 Removed unnecessary import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@32 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-11 17:20:36 +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 06f6fa26d5 Handle end session notification from client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@29 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 22:50:08 +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 03e2dbc9cb Change pong from notification to response. Cling pings, server pongs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@26 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 21:53:45 +00:00
Michael Bayne 2d9452c16b Changed the names of the upstream messages to requests rather than
notifications. The client always requests, the server replies or notifies.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@25 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 21:29:51 +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 2c3e4d9528 Wired up connection observer stuff. Created skeleton client manager. Wired
up post-authentication authing to running transition.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@21 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 22:12:03 +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 f96c7661af Don't use the EventFactory for now because that's all changing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@13 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 23:59:16 +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 bd58cbd199 Use LoopingThread for Reader and Writer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@11 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 23:51:39 +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