Skip to content

Commit c437076

Browse files
committed
Bit'o documentation
1 parent abefcd4 commit c437076

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

GCD/GCDAsyncSocket.m

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7042,11 +7042,17 @@ - (BOOL)openStreams
70427042
#pragma mark Advanced
70437043
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
70447044

7045+
/**
7046+
* See header file for big discussion of this method.
7047+
**/
70457048
- (void)performBlock:(dispatch_block_t)block
70467049
{
70477050
dispatch_sync(socketQueue, block);
70487051
}
70497052

7053+
/**
7054+
* Questions? Have you read the header file?
7055+
**/
70507056
- (int)socketFD
70517057
{
70527058
if (dispatch_get_current_queue() != socketQueue)
@@ -7061,6 +7067,9 @@ - (int)socketFD
70617067
return socket6FD;
70627068
}
70637069

7070+
/**
7071+
* Questions? Have you read the header file?
7072+
**/
70647073
- (int)socket4FD
70657074
{
70667075
if (dispatch_get_current_queue() != socketQueue)
@@ -7072,6 +7081,9 @@ - (int)socket4FD
70727081
return socket4FD;
70737082
}
70747083

7084+
/**
7085+
* Questions? Have you read the header file?
7086+
**/
70757087
- (int)socket6FD
70767088
{
70777089
if (dispatch_get_current_queue() != socketQueue)
@@ -7085,6 +7097,9 @@ - (int)socket6FD
70857097

70867098
#if TARGET_OS_IPHONE
70877099

7100+
/**
7101+
* Questions? Have you read the header file?
7102+
**/
70887103
- (CFReadStreamRef)readStream
70897104
{
70907105
if (dispatch_get_current_queue() != socketQueue)
@@ -7099,6 +7114,9 @@ - (CFReadStreamRef)readStream
70997114
return readStream;
71007115
}
71017116

7117+
/**
7118+
* Questions? Have you read the header file?
7119+
**/
71027120
- (CFWriteStreamRef)writeStream
71037121
{
71047122
if (dispatch_get_current_queue() != socketQueue)
@@ -7144,6 +7162,9 @@ - (BOOL)enableBackgroundingOnSocketWithCaveat:(BOOL)caveat
71447162
return YES;
71457163
}
71467164

7165+
/**
7166+
* Questions? Have you read the header file?
7167+
**/
71477168
- (BOOL)enableBackgroundingOnSocket
71487169
{
71497170
LogTrace();

0 commit comments

Comments
 (0)