* Add Msoy's MethodProfiler so I can use it in Riposte.

* Apparently, a couple of whitespace cleanups my gvim did awhile ago while I was looking around in
  here.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5971 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Nathan Curtis
2009-09-24 20:40:48 +00:00
parent 1c538ac78e
commit ea49d70129
3 changed files with 384 additions and 5 deletions
@@ -327,12 +327,12 @@ public class Client extends EventDispatcher
_activeSession = true; // restore our active session status
return false;
}
if (_tickInterval != null) {
_tickInterval.stop();
_tickInterval = null;
}
_comm.logoff();
return true;
}
@@ -390,7 +390,7 @@ public class Client extends EventDispatcher
_tickInterval.addEventListener(TimerEvent.TIMER, tick);
_tickInterval.start();
}
notifyObservers(ClientEvent.CLIENT_DID_LOGON);
// now that we've logged on at least once, we're in the middle of an active session and
@@ -104,7 +104,7 @@ public class InvocationDirector
}
// if we're logged on, clear out any receiver id mapping
if (_clobj != null) {
if (_clobj != null) {
var rreg :InvocationReceiver_Registration =
(_clobj.receivers.get(receiverCode) as InvocationReceiver_Registration);
if (rreg == null) {
@@ -238,7 +238,7 @@ public class InvocationDirector
*/
protected function handleInvocationResponse (reqId :int, methodId :int, args :Array) :void
{
var listener :InvocationMarshaller_ListenerMarshaller =
var listener :InvocationMarshaller_ListenerMarshaller =
(_listeners.remove(reqId) as InvocationMarshaller_ListenerMarshaller);
if (listener == null) {
log.warning("Received invocation response for which we have no registered listener " +