<RMCallProtocol> Protocol Reference

Provides call protocol interface/implementation. More...

#import <RMCall.h>

Inheritance diagram for <RMCallProtocol>:
MockProtocol MockProtocol2 MockProtocolShouldSend MockSessionProtocol MoodleAuthenticator MoodleCallProtocol RMSessionTests

List of all members.

Public Member Functions

(BOOL) - requestShouldSend:method:arguments:
 Should the request be sent?
(void) - requestWillSend:method:arguments:
 An event fired just before the request is sent.
(void) - requestDidSend:method:arguments:
 An event fired just after the request is sent.
(void) - adjustRequest:method:arguments:
 Adjust the request object according to this call protocol.
(BOOL) - isAsynchronous
 Whether the call protocol is asynchronous.

Detailed Description

Provides call protocol interface/implementation.

Definition at line 17 of file RMCall.h.


Member Function Documentation

- (BOOL) requestShouldSend: (ASIFormDataRequest *)  request
method: (NSString *)  method
arguments: (NSDictionary *)  arguments 
[optional]

Should the request be sent?

Parameters:
request The request object.
method The method name.
arguments The arguments for the call.
Returns:
Whether this request should be sent.
- (void) requestWillSend: (ASIFormDataRequest *)  request
method: (NSString *)  method
arguments: (NSDictionary *)  arguments 
[optional]

An event fired just before the request is sent.

Parameters:
request The request object.
method The method name.
arguments The arguments for the call.
- (void) requestDidSend: (ASIFormDataRequest *)  request
method: (NSString *)  method
arguments: (NSDictionary *)  arguments 
[optional]

An event fired just after the request is sent.

Parameters:
request The request object.
method The method name.
arguments The arguments for the call.
- (void) adjustRequest: (ASIFormDataRequest *)  request
method: (NSString *)  method
arguments: (NSDictionary *)  arguments 
[required]

Adjust the request object according to this call protocol.

Parameters:
request The request object.
method The method name.
arguments The arguments for the call.
- (BOOL) isAsynchronous   [optional]

Whether the call protocol is asynchronous.

Returns:
the call protocol is asynchronous or not, defaults to YES

The documentation for this protocol was generated from the following file:

Generated on Wed Dec 9 23:55:12 2009 for WIRemoting by  doxygen 1.6.1