#import <BLIPConnection.h>
Inherited by BLIPConnectionTester, BLIPEchoServer, and BLIPTestListener.
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. | |
| - (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.
1.5.4