JSONRPCService.h File Reference

Represent a JSON-RPC WebService. More...

#import <Foundation/Foundation.h>

Go to the source code of this file.

Classes

protocol  <JSONRPCDelegate>
 JSONRPC Error Handler protocol, used on the JSONRPCMethodCall's or JSONRPCService's delegate (see Error management). More...
class  JSONRPCService
 The class representing a JSON-RPC WebService (identified by an URL to call methods to). It handle JSON-RPC v1.0 WebServices. More...
class  JSONRPCServiceProxy
 Proxy object which allow you to call JSON-RPC methods as if it was Obj-C method. More...

Enumerations

enum  JSONRPCVersion { JSONRPCVersion_1_0, JSONRPCVersion_1_1, JSONRPCVersion_2_0 }
 

Used to specify the JSON-RPC version supported by the WebService.


Variables

NSString *const JSONRPCServerErrorDomain
 domain for errors returned by the server (in the JSON object)
NSString *const JSONRPCServerErrorNotification
 notification send for errors returned by the server (in the JSON object)
NSString *const JSONRPCErrorJSONObjectKey
 key used in NSError's userInfo dict to hold JSON-RPC's error "data" member
NSString *const JSONRPCInternalErrorDomain
 domain for internal errors: conversion from JSON to Object, ...
NSInteger const JSONRPCFormatErrorCode
 The code for an NSError (JSONRPCInternalErrorDomain) that occurs when the received JSON is not conformant with RPC standard ({id,result,error}).
NSString *const JSONRPCFormatErrorString
 English string for JSONRPCFormatErrorCode error. Define a localization for "JSONRPCFormatErrorString" in your Localizable.strings to provide a custom translation.
NSInteger const JSONRPCConversionErrorCode
 The code for an NSError (JSONRPCInternalErrorDomain) that occurs when converting the JSON object to the resultClass instance.
NSString *const JSONRPCConversionErrorString
 English string for JSONRPCConversionErrorCode error. Define a localization for "JSONRPCConversionErrorString" in your Localizable.strings to provide a custom translation.
NSString *const JSONRPCErrorClassNameKey
 the key used in NSError's userInfo dict to hold the class we expected to convert the JSON response to.

Detailed Description

Represent a JSON-RPC WebService.

Generated on Tue Mar 22 22:27:19 2011 for JSONRPC Framework by  doxygen 1.6.3