From d9cdb5ae3b2acc50dc837a8fc48dd517c33ab1d4 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sun, 29 Jun 2008 11:22:58 +0000 Subject: [PATCH] Move this up with its public friends. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5200 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../presents/server/PresentsServer.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/java/com/threerings/presents/server/PresentsServer.java b/src/java/com/threerings/presents/server/PresentsServer.java index 6f8226adc..ed877929e 100644 --- a/src/java/com/threerings/presents/server/PresentsServer.java +++ b/src/java/com/threerings/presents/server/PresentsServer.java @@ -138,6 +138,23 @@ public class PresentsServer TimeBaseProvider.init(_invmgr, _omgr); } + /** + * Starts up all of the server services and enters the main server event loop. + */ + public void run () + { + // post a unit that will start up the connection manager when everything else in the + // dobjmgr queue is processed + _omgr.postRunnable(new Runnable() { + public void run () { + // start up the connection manager + _conmgr.start(); + } + }); + // invoke the dobjmgr event loop + _omgr.run(); + } + /** * Defines the default object access policy for all {@link DObject} instances. The default * default policy is to allow all subscribers but reject all modifications by the client. @@ -163,23 +180,6 @@ public class PresentsServer return Client.DEFAULT_DATAGRAM_PORTS; } - /** - * Starts up all of the server services and enters the main server event loop. - */ - public void run () - { - // post a unit that will start up the connection manager when everything else in the - // dobjmgr queue is processed - _omgr.postRunnable(new Runnable() { - public void run () { - // start up the connection manager - _conmgr.start(); - } - }); - // invoke the dobjmgr event loop - _omgr.run(); - } - /** * Called once the invoker and distributed object manager have both completed processing all * remaining events and are fully shutdown. Note: this is called as the last act of