1.1 --- a/BLIP/BLIPTest.m Thu Jun 19 16:22:05 2008 -0700
1.2 +++ b/BLIP/BLIPTest.m Mon Jun 23 14:02:31 2008 -0700
1.3 @@ -194,6 +194,13 @@
1.4 Log(@"Now %u replies pending", _pending.count);
1.5 }
1.6
1.7 +- (BOOL) connectionReceivedCloseRequest: (BLIPConnection*)connection
1.8 +{
1.9 + BOOL response = NO;
1.10 + Log(@"***** %@ received a close request; returning %i",connection,response);
1.11 + return response;
1.12 +}
1.13 +
1.14
1.15 @end
1.16
1.17 @@ -324,6 +331,17 @@
1.18 }
1.19 }
1.20
1.21 +- (BOOL) connectionReceivedCloseRequest: (BLIPConnection*)connection;
1.22 +{
1.23 + Log(@"***** %@ received a close request",connection);
1.24 + return YES;
1.25 +}
1.26 +
1.27 +- (void) connection: (BLIPConnection*)connection closeRequestFailedWithError: (NSError*)error
1.28 +{
1.29 + Log(@"***** %@'s close request failed: %@",connection,error);
1.30 +}
1.31 +
1.32
1.33 @end
1.34