Classes |
class | AsyncSocket(Private) |
class | AsyncReadPacket |
| The AsyncReadPacket encompasses the instructions for any given read. More...
|
class | AsyncWritePacket |
| The AsyncWritePacket encompasses the instructions for any given write. More...
|
class | AsyncSpecialPacket |
| The AsyncSpecialPacket encompasses special instructions for interruptions in the read/write queues. More...
|
Defines |
#define | DEFAULT_PREBUFFERING YES |
#define | READQUEUE_CAPACITY 5 |
#define | WRITEQUEUE_CAPACITY 5 |
#define | READALL_CHUNKSIZE 256 |
#define | WRITE_CHUNKSIZE (1024 * 4) |
#define | DEBUG_THREAD_SAFETY 0 |
Enumerations |
enum | AsyncSocketFlags {
kEnablePreBuffering = 1 << 0,
kDidStartDelegate = 1 << 1,
kDidCompleteOpenForRead = 1 << 2,
kDidCompleteOpenForWrite = 1 << 3,
kStartingReadTLS = 1 << 4,
kStartingWriteTLS = 1 << 5,
kForbidReadsWrites = 1 << 6,
kDisconnectAfterReads = 1 << 7,
kDisconnectAfterWrites = 1 << 8,
kClosingWithError = 1 << 9,
kDequeueReadScheduled = 1 << 10,
kDequeueWriteScheduled = 1 << 11,
kSocketCanAcceptBytes = 1 << 12,
kSocketHasBytesAvailable = 1 << 13
} |
Functions |
static void | MyCFSocketCallback (CFSocketRef, CFSocketCallBackType, CFDataRef, const void *, void *) |
static void | MyCFReadStreamCallback (CFReadStreamRef stream, CFStreamEventType type, void *pInfo) |
static void | MyCFWriteStreamCallback (CFWriteStreamRef stream, CFStreamEventType type, void *pInfo) |
Variables |
NSString *const | AsyncSocketException = @"AsyncSocketException" |
NSString *const | AsyncSocketErrorDomain = @"AsyncSocketErrorDomain" |