Widened, fixed documentation and nixed unneeded runnable posting for

clientSessionDidEnd() which is called on the dobjmgr thread directly.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4680 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-05-04 02:11:33 +00:00
parent bd8ad47153
commit 69485a88ee
2 changed files with 83 additions and 128 deletions
@@ -346,7 +346,7 @@ public class PresentsClient
}
}
// documentation inherited from interface
// from interface ClientResolutionListener
public void clientResolved (Name username, ClientObject clobj)
{
// we'll be keeping this bad boy
@@ -360,7 +360,7 @@ public class PresentsClient
_cmgr.clientSessionDidStart(this);
}
// documentation inherited from interface
// from interface ClientResolutionListener
public void resolutionFailed (Name username, Exception reason)
{
// urk; nothing to do but complain and get the f**k out of dodge
@@ -371,7 +371,7 @@ public class PresentsClient
endSession();
}
// documentation inherited from interface
// from interface MessageHandler
public void handleMessage (UpstreamMessage message)
{
_messagesIn++; // count 'em up!
@@ -403,7 +403,7 @@ public class PresentsClient
disp.dispatch(this, message);
}
// documentation inherited from interface
// from interface ProxySubscriber
public void objectAvailable (DObject object)
{
if (postMessage(new ObjectResponse<DObject>(object))) {
@@ -415,13 +415,13 @@ public class PresentsClient
}
}
// documentation inherited from interface
// from interface ProxySubscriber
public void requestFailed (int oid, ObjectAccessException cause)
{
postMessage(new FailureResponse(oid));
}
// documentation inherited from interface
// from interface ProxySubscriber
public void eventReceived (DEvent event)
{
if (event instanceof PresentsDObjectMgr.AccessObjectEvent) {