Handle the connection in the run loop.

This commit is contained in:
Jonathan Schleifer 2012-09-20 02:30:15 +02:00
parent 72bc705800
commit 8f2cdce7b4
3 changed files with 53 additions and 19 deletions

View file

@ -245,7 +245,7 @@
- (BOOL)checkCertificateAndGetReason: (OFString**)reason;
/**
* \brief Starts a loop handling incomming data.
* \brief Adds the connection to the run loop.
*/
- (void)handleConnection;
@ -258,7 +258,7 @@
* \param length The length of the buffer. If length is 0, it is assumed that
* the connection was closed.
*/
- (void)parseBuffer: (const char*)buffer
- (void)parseBuffer: (const void*)buffer
length: (size_t)length;
/**