Created a peer-aware DatabaseConfigRegistry that broadcasts changed runtime

configuration information to other peers so that they all remain in sync.

Also nixed constructor arguments to the peer manager so that it can be created
at server construct time like all other managers and be available for the
twisty maze of inter-registration that takes place during the manager init
process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4814 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-08-16 20:53:17 +00:00
parent b18ebdbc53
commit f90a39207f
5 changed files with 159 additions and 46 deletions
@@ -21,9 +21,6 @@
package com.threerings.crowd.peer.server;
import com.samskivert.jdbc.depot.PersistenceContext;
import com.samskivert.util.Invoker;
import com.threerings.util.Name;
import com.threerings.presents.data.ClientObject;
@@ -52,15 +49,6 @@ import com.threerings.crowd.peer.data.CrowdPeerMarshaller;
public class CrowdPeerManager extends PeerManager
implements CrowdPeerProvider, ChatProvider.TellForwarder
{
/**
* Creates a peer manager that integrates Crowd services across a cluster
* of servers.
*/
public CrowdPeerManager (PersistenceContext ctx, Invoker invoker)
{
super(ctx, invoker);
}
// documentation inherited from interface CrowdPeerProvider
public void deliverTell (ClientObject caller, UserMessage message,
Name target, ChatService.TellListener listener)