RPC server protocol responses
Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes
- class FtRpcResponse
-
Methods
- __init__(self)
- send(self, connection)
- class FtServerErrorResponse(FtRpcResponse)
-
A specific Ft Server exception occurred
Methods
- __init__(self, error)
- Overrides: __init__ from class FtRpcResponse
Methods inherited from class FtRpcResponse
Members
- response = 5
- class GeneralErrorResponse(FtRpcResponse)
-
This response class represents an unknown error condition.
It is returned when ever a unknown exception occurs on the server
Methods
- __init__(self, error, traceback)
- Overrides: __init__ from class FtRpcResponse
Methods inherited from class FtRpcResponse
Members
- response = 2
- class MethodResultsResponse(FtRpcResponse)
-
The results of invoking a method
Methods
- __init__(self, path, results)
- Overrides: __init__ from class FtRpcResponse
Methods inherited from class FtRpcResponse
Members
- response = 4
- class OkResponse(FtRpcResponse)
-
Simple Acknowledge
Methods inherited from class FtRpcResponse
Members
- data = {}
- response = 1
- class RdfResultsResponse(FtRpcResponse)
-
The results of invoking a method on the model
Methods
- __init__(self, path, results)
- Overrides: __init__ from class FtRpcResponse
Methods inherited from class FtRpcResponse
Members
- response = 6
- class ResourceTypeResponse(FtRpcResponse)
-
Return the Resource type of an object
Methods
- __init__(self, path, resourceType)
- Overrides: __init__ from class FtRpcResponse
Methods inherited from class FtRpcResponse
Members
- response = 3
Globals
- g_responseMapping = {1: <class Ft.Server.FtRpc.Responses.OkResponse>, 2: <class Ft.Server.FtRpc.Responses.GeneralErrorResponse>, 3: <class Ft.Server.FtRpc.Responses.ResourceTypeResponse>, 4: <class Ft.Server.FtRpc.Responses.MethodResultsResponse>, 5: <class Ft.Server.FtRpc.Responses.FtServerErrorResponse>, 6: <class Ft.Server.FtRpc.Responses.RdfResultsResponse>}