]> src.bluestatic.org Git - macgdbp.git/commit
Starting to thread-ify SocketWrapper class.
authorRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 04:57:16 +0000 (21:57 -0700)
committerRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 04:57:16 +0000 (21:57 -0700)
commit05a11cf00200aaaa11bcde9c0efa2bc88b14b57e
tree05f12eac3ffdd5842dff5db69ad0f0209c6f146f
parent18a9450fc1a34cd2d24718016ea68ae5fbc314e0
Starting to thread-ify SocketWrapper class.

* Source/SocketWrapper.h: Defined connect: and _port, and internal method block
* Source/SocketWraper.m:
([SocketWrapper connect]): New method. Dispatches thread to _connect
([SocketWrapper _connect:]): Threaded method that does the actual connecting to the socket
([SocketWrapper initWithPort:]): Removing connection stuff and placing it in an explicit commit method
([SocketWrapper _postNotification:withObject:]): New helper method.
* Source/DebuggerConnection.m:
([DebuggerConnection socketAccepted]): New method
([DebuggerConnection initWithPort:]): Call [socket connect] and don't release it in the method any more
Source/DebuggerConnection.m
Source/SocketWrapper.h
Source/SocketWrapper.m