Finally settled on a delegate/notification system combination that works, and is...
authorRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 05:49:50 +0000 (22:49 -0700)
committerRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 05:49:50 +0000 (22:49 -0700)
commit6cff7a1fff7d9437cd753bd045fcb8070e56cb83
treebac8f1bcda85e6d8f231ff9aec7bebe05cfac717
parent8199a38fe6a5e49214479b1c96a344e30a2b6200
Finally settled on a delegate/notification system combination that works, and is rather clever if I do say so myself.

* Source/DebuggerConnection.m:
([DebuggerConnection socketDidAccept]): Changing from a notification receiver to a delegate method
* Source/SocketWrapper.h: Making the notification constants not be public
* Source/SocketWrapper.m:
([SocketWrapper initWithPort:]): Register the instance of SocketWrapper as a global notification observer
([SocketWrapper setDelegate:]): Removed all occurrences of notification observing
([SocketWrapper _sendMessageToDelegate:]): New function. Receives all notifications and passes up the ones that the object sent (ableit from another thread) to the delegate
([SocketWrapper connect]): Change the type of notification we post
([SocketWrapper _postNotification:withObject:]): Change the key for where we store the delegate in userInfo
Source/DebuggerConnection.m
Source/SocketWrapper.h
Source/SocketWrapper.m