Modified client so that the invocation director is always around rather

than being created after we log on because other code will want to
register itself with the invocation director before we log on. The
invocation director now just handles being reinitialized which is what
will happen when we log off and back on.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@384 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-03 03:42:31 +00:00
parent 09859cd1b9
commit 95f6bf7300
2 changed files with 7 additions and 7 deletions
@@ -1,5 +1,5 @@
//
// $Id: InvocationDirector.java,v 1.10 2001/10/02 02:05:50 mdb Exp $
// $Id: InvocationDirector.java,v 1.11 2001/10/03 03:42:31 mdb Exp $
package com.threerings.cocktail.cher.client;
@@ -38,13 +38,13 @@ public class InvocationDirector
implements Subscriber
{
/**
* Constructs a new invocation director with the specified invocation
* Initializes the invocation director with the specified invocation
* manager oid. It will obtain its distributed object manager and
* client object references from the supplied client instance. The
* invocation manager oid is the oid of the object on the server to
* which to deliver invocation requests.
*/
public InvocationDirector (Client client, int imoid)
public void init (Client client, int imoid)
{
_client = client;
_omgr = client.getDObjectManager();