RMCall Class Reference
Handles calls in WIRemoting framework.
More...
#import <RMCall.h>
List of all members.
Detailed Description
Handles calls in WIRemoting framework.
Definition at line 107 of file RMCall.h.
Member Function Documentation
Initiatize the call with a call protocol.
- Parameters:
-
| protocol | A call protocol. |
Definition at line 30 of file RMCall.m.
- (BOOL) call: |
|
(NSString*) |
method |
arguments: |
|
(NSDictionary*) |
arguments | |
|
|
| | |
Call a remote method.
- Parameters:
-
| method | The method name. |
| arguments | The method arguments. |
- Returns:
- whether the call is sent.
Definition at line 70 of file RMCall.m.
- (BOOL) call: |
|
(NSString*) |
method |
arguments: |
|
(NSDictionary*) |
arguments |
delegate: |
|
(id) |
delegate | |
|
|
| | |
Call a remote method with a temporary delegate.
- Parameters:
-
| method | The method name. |
| arguments | The method arguments. |
| delegate | a delegate |
- Returns:
- whether the call is sent.
Definition at line 78 of file RMCall.m.
- (BOOL) call: |
|
(NSString*) |
method |
arguments: |
|
(NSDictionary*) |
arguments |
protocol: |
|
(id<RMCallProtocol>) |
protocol | |
|
|
| | |
Call a remote method with a specific call protocol.
Call a remote method with the specified call protocol in the highest priority.
- Parameters:
-
| method | The method name. |
| arguments | The method arguments. |
| protocol | The call protocol to execute on top of other protocols. |
- Returns:
- whether the call is sent.
Definition at line 105 of file RMCall.m.
- (BOOL) call: |
|
(NSString*) |
method |
arguments: |
|
(NSDictionary*) |
arguments |
delegate: |
|
(id) |
delegate |
protocol: |
|
(id<RMCallProtocol>) |
protocol | |
|
|
| | |
Call a remote method with a temporary delegate.
- Parameters:
-
| method | The method name. |
| arguments | The method arguments. |
| delegate | a delegate |
| protocol | The call protocol to execute on top of other protocols. |
- Returns:
- whether the call is sent.
Definition at line 91 of file RMCall.m.
Push a call protocol onto the protocol stack.
- Parameters:
-
| protocol | A call protocol. |
Definition at line 242 of file RMCall.m.
Pop a call protocol from the protocol stack.
- Returns:
- The popped call protocol.
Definition at line 247 of file RMCall.m.
Get the protocol on the top of the protocol stack.
- Returns:
- The protocol on the top of the stack.
Definition at line 254 of file RMCall.m.
Add a new delegate.
- Parameters:
-
Definition at line 259 of file RMCall.m.
Remove a delegate.
- Parameters:
-
Definition at line 266 of file RMCall.m.
The documentation for this class was generated from the following files:
- /Users/yxh/Code/XCode/WIRemoting/Source/Classes/RMCall.h
- /Users/yxh/Code/XCode/WIRemoting/Source/Classes/RMCall.m