BLIP/BLIPConnection.h
changeset 4 2bd9d60a2c46
parent 2 9fdd8dba529c
child 5 2c4bb6968927
     1.1 --- a/BLIP/BLIPConnection.h	Sat May 24 17:25:06 2008 -0700
     1.2 +++ b/BLIP/BLIPConnection.h	Sun May 25 10:28:26 2008 -0700
     1.3 @@ -57,8 +57,10 @@
     1.4  
     1.5  
     1.6  /** The delegate messages that BLIPConnection will send,
     1.7 -    in addition to the ones inherited from TCPConnectionDelegate. */
     1.8 +    in addition to the ones inherited from TCPConnectionDelegate.
     1.9 +    All methods are optional. */
    1.10  @protocol BLIPConnectionDelegate <TCPConnectionDelegate>
    1.11 +@optional
    1.12  
    1.13  /** Called when a BLIPRequest is received from the peer, if there is no BLIPDispatcher
    1.14      rule to handle it.
    1.15 @@ -68,10 +70,8 @@
    1.16      to prevent this, call -deferResponse on the request if you want to send a response later. */
    1.17  - (void) connection: (BLIPConnection*)connection receivedRequest: (BLIPRequest*)request;
    1.18  
    1.19 -@optional
    1.20  /** Called when a BLIPResponse (to one of your requests) is received from the peer.
    1.21 -    This is called <i>after</i> the response object's onComplete target, if any, is invoked.
    1.22 -    (This method is optional.) */
    1.23 +    This is called <i>after</i> the response object's onComplete target, if any, is invoked.*/
    1.24  - (void) connection: (BLIPConnection*)connection receivedResponse: (BLIPResponse*)response;
    1.25  @end
    1.26