]> src.bluestatic.org Git - macgdbp.git/commit
Adding a selector argument to receive: so that the delegate method can forward the...
authorRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 06:33:38 +0000 (23:33 -0700)
committerRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 06:33:38 +0000 (23:33 -0700)
commit36938523060ef41f47d79e8616709e5fbc1483e8
tree491d710f31267d4161b629a3fbd36aae819b5179
parentb404a6835918a9b5332ea0207a662daae0f5dad6
Adding a selector argument to receive: so that the delegate method can forward the response to that method.

* Source/DebuggerConnection.m:
([DebuggerConnection dataReceived:deliverTo:]): Add a handling for when we have a delivery to make to a specified selector
([DebuggerConnection socketDidAccept]): Tell the initial packet to go to handshake:
([DebuggerConnection handshake:]): New method
* Source/SocketWrapper.h: Update declarations for receive: dataReceived:deliverTo: and added _postNotification:withObject:withDict:
* Source/SocketWrapper.m:
([SocketWrapper _sendMessageToDelegate:]): Added support for NsockDataReceived for the deliverTo: paramater
([SocketWrapper receive:]): Now takes an optional selector to deliver data to when it's finally received
([SocketWrapper _postNotification:withObject:withDict:]): New method
([SocketWrapper _postNotification:withObject:]): Now calls _postNotification:withObject:withDict:
Source/DebuggerConnection.m
Source/SocketWrapper.h
Source/SocketWrapper.m