< BLIPConnectionDelegate > Protocol Reference

#import <BLIPConnection.h>

Inherited by BLIPConnectionTester, BLIPEchoServer, and BLIPTestListener.

List of all members.


Detailed Description

The delegate messages that BLIPConnection will send, in addition to the ones inherited from TCPConnectionDelegate.

All methods are optional.

Public Member Functions

(void) - connection:receivedRequest:
 Called when a BLIPRequest is received from the peer, if there is no BLIPDispatcher rule to handle it.
(void) - connection:receivedResponse:
 Called when a BLIPResponse (to one of your requests) is received from the peer.


Member Function Documentation

- (void) connection: (BLIPConnection *)  connection
receivedRequest: (BLIPRequest *)  request 

Called when a BLIPRequest is received from the peer, if there is no BLIPDispatcher rule to handle it.

The delegate should get the request's response object, fill in its data and properties or error property, and send it. If it doesn't explicitly send a response, a default empty one will be sent; to prevent this, call -deferResponse on the request if you want to send a response later.

- (void) connection: (BLIPConnection *)  connection
receivedResponse: (BLIPResponse *)  response 

Called when a BLIPResponse (to one of your requests) is received from the peer.

This is called after the response object's onComplete target, if any, is invoked.


The documentation for this protocol was generated from the following file:
Generated on Tue May 27 22:56:33 2008 for MYNetwork:MooseyardNetworking by  doxygen 1.5.4