RAPP Platform API
 All Classes Namespaces Files Functions Variables Typedefs
RappCloud.Service.RappPlatformService.RappPlatformService Class Reference
Inheritance diagram for RappCloud.Service.RappPlatformService.RappPlatformService:
Collaboration diagram for RappCloud.Service.RappPlatformService.RappPlatformService:

Public Member Functions

def __init__
 Constructor. More...
 
def call
 Call the RAPP Platform Service. More...
 
def call_async
 Call the RAPP Platform Service. More...
 
def persistent
 Service persistent connection value getter. More...
 
def persistent
 Service persistent connection value setter. More...
 
def req
 Service request object getter. More...
 
def resp
 Service response object getter. More...
 
def resp
 Service response object setter. More...
 
def timeout
 Service timeout value getter. More...
 
def timeout
 Service timeout value setter. More...
 

Private Member Functions

def __load_platform_cfg
 
def _make_url
 Craft patform service full url path. More...
 

Private Attributes

 __cloudObj
 Cloud Object passed to the RappPlatformService. More...
 
 __controller
 Service Controller. More...
 
 __controllerAsync
 
 __persistent
 Persistent connection value (Boolean) More...
 
 __platformParams
 
 __timeout
 

Detailed Description

Service class 

Definition at line 35 of file RappPlatformService.py.

Constructor & Destructor Documentation

def RappCloud.Service.RappPlatformService.RappPlatformService.__init__ (   self,
  msg = None,
  persistent = True,
  timeout = None,
  address = None,
  port = None,
  protocol = None,
  kwargs 
)

Constructor.

Parameters
**kwargs- Keyword arguments. Apply values to the request attributes.

Definition at line 40 of file RappPlatformService.py.

Member Function Documentation

def RappCloud.Service.RappPlatformService.RappPlatformService.__load_platform_cfg (   self)
private

Definition at line 153 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService._make_url (   self,
  svcUrlName 
)
private

Craft patform service full url path.

Parameters
svcUrlNamestring - The service urlname, i.e 'face_detection'
Returns
string - The full service url path.

Definition at line 114 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.call (   self,
  msg = None 
)

Call the RAPP Platform Service.

Definition at line 127 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.call_async (   self,
  msg,
  clb = None 
)

Call the RAPP Platform Service.

Definition at line 144 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.persistent (   self)

Service persistent connection value getter.

Definition at line 74 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.persistent (   self,
  val 
)

Service persistent connection value setter.

Definition at line 79 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.req (   self)

Service request object getter.

Definition at line 97 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.resp (   self)

Service response object getter.

Definition at line 103 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.resp (   self,
  val 
)

Service response object setter.

Definition at line 109 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.timeout (   self)

Service timeout value getter.

Definition at line 85 of file RappPlatformService.py.

def RappCloud.Service.RappPlatformService.RappPlatformService.timeout (   self,
  val 
)

Service timeout value setter.

Definition at line 91 of file RappPlatformService.py.

Member Data Documentation

RappCloud.Service.RappPlatformService.RappPlatformService.__cloudObj
private

Cloud Object passed to the RappPlatformService.

Definition at line 59 of file RappPlatformService.py.

RappCloud.Service.RappPlatformService.RappPlatformService.__controller
private

Service Controller.

Definition at line 69 of file RappPlatformService.py.

RappCloud.Service.RappPlatformService.RappPlatformService.__controllerAsync
private

Definition at line 70 of file RappPlatformService.py.

RappCloud.Service.RappPlatformService.RappPlatformService.__persistent
private

Persistent connection value (Boolean)

Definition at line 61 of file RappPlatformService.py.

RappCloud.Service.RappPlatformService.RappPlatformService.__platformParams
private

Definition at line 173 of file RappPlatformService.py.

RappCloud.Service.RappPlatformService.RappPlatformService.__timeout
private

Definition at line 63 of file RappPlatformService.py.


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