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 *)json
Parameters
- 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.h
createFromCallRequestObject:
Creates STWServiceCall object from Straw Call Request Object from Browser.
+ (STWServiceCall *)createFromCallRequestObject:(NSDictionary *)object
Parameters
- 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