The basis of cluster support for Presents servers. All servers in a cluster

make connections to other servers in the cluster and can exchange events (in a
limited fashion).

This is different than Liz's project wherein servers share an oid space and one
can interchangably work with distributed objects from any server. This package
provides a means by which certain services (by default, presence and chat) can
be communicated between servers to allow communication between players
scattered around a bunch of otherwise independent server instances.

This is less general purpose but also less likely to encourage people to write
code that tightly couples multiple servers and then falls over because it
generates gobs of network traffic as events are flung willy nilly behind the
scenes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4238 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-07-01 00:19:59 +00:00
parent 06680b789f
commit 33a758dfce
15 changed files with 837 additions and 84 deletions
@@ -208,7 +208,8 @@ public class PresentsClient
// let the client know that the rug has been yanked out
// from under their ass
Object[] args = new Object[] { Integer.valueOf(clobj.getOid()) };
Object[] args = new Object[] {
Integer.valueOf(clobj.getOid()) };
_clobj.postMessage(ClientObject.CLOBJ_CHANGED, args);
// call down to any derived classes