RAPP Platform API
|
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 | |
Service class
Definition at line 35 of file RappPlatformService.py.
def RappCloud.Service.RappPlatformService.RappPlatformService.__init__ | ( | self, | |
msg = None , |
|||
persistent = True , |
|||
timeout = None , |
|||
address = None , |
|||
port = None , |
|||
protocol = None , |
|||
kwargs | |||
) |
Constructor.
**kwargs | - Keyword arguments. Apply values to the request attributes. |
Definition at line 40 of file RappPlatformService.py.
|
private |
Definition at line 153 of file RappPlatformService.py.
|
private |
Craft patform service full url path.
svcUrlName | string - The service urlname, i.e 'face_detection' |
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.
|
private |
Cloud Object passed to the RappPlatformService.
Definition at line 59 of file RappPlatformService.py.
|
private |
Service Controller.
Definition at line 69 of file RappPlatformService.py.
|
private |
Definition at line 70 of file RappPlatformService.py.
|
private |
Persistent connection value (Boolean)
Definition at line 61 of file RappPlatformService.py.
|
private |
Definition at line 173 of file RappPlatformService.py.
|
private |
Definition at line 63 of file RappPlatformService.py.