STWServiceCallFactory Class Reference
| Inherits from | NSObject |
| Declared in | STWServiceCallFactory.h STWServiceCallFactory.m |
Class Methods
createFromCallRequestJSON:
Creates STWServiceCall object from Straw Call Request JSON from Browser.
+ (STWServiceCall *)createFromCallRequestJSON:(NSData *)jsonParameters
- json
Call Request JSON from Browser.
Discussion
Creates STWServiceCall object from Straw Call Request JSON from Browser.
Call Request JSON should have following fields
- service (string)
- method (string)
- params (object(dictionary))
- callId (number)
Declared In
STWServiceCallFactory.hcreateFromCallRequestObject:
Creates STWServiceCall object from Straw Call Request Object from Browser.
+ (STWServiceCall *)createFromCallRequestObject:(NSDictionary *)objectParameters
- object
Call Request Object from Browser.
Discussion
Creates STWServiceCall object from Straw Call Request Object from Browser.
Call Request Object should have following fields
- service (string)
- method (string)
- params (object(dictionary))
- callId (number)
Declared In
STWServiceCallFactory.h