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
This commit is contained in:
Michael Bayne
2001-07-19 07:48:25 +00:00
parent 933896e503
commit d55ce27b2b
9 changed files with 75 additions and 11 deletions
@@ -1,5 +1,5 @@
//
// $Id: Client.java,v 1.8 2001/07/19 07:09:16 mdb Exp $
// $Id: Client.java,v 1.9 2001/07/19 07:48:25 mdb Exp $
package com.threerings.cocktail.cher.client;
@@ -253,6 +253,9 @@ public class Client
// create our invocation manager
_invmgr = new InvocationManager(this, data.invOid);
// let the client know that logon has now fully succeeded
notifyObservers(Client.CLIENT_DID_LOGON, null);
}
protected Credentials _creds;
@@ -1,5 +1,5 @@
//
// $Id: Communicator.java,v 1.9 2001/07/19 07:09:16 mdb Exp $
// $Id: Communicator.java,v 1.10 2001/07/19 07:48:25 mdb Exp $
package com.threerings.cocktail.cher.client;
@@ -163,8 +163,8 @@ public class Communicator
_writer = new Writer();
_writer.start();
// let the client know that logon succeeded
_client.notifyObservers(Client.CLIENT_DID_LOGON, null);
// wait for the bootstrap notification before we claim that we're
// actually logged on
}
/**
@@ -365,6 +365,7 @@ public class Communicator
} catch (ObjectStreamException ose) {
Log.warning("Error decoding message: " + ose);
Log.logStackTrace(ose);
} catch (InterruptedIOException iioe) {
// somebody set up us the bomb! we've been interrupted