Home | Trees | Indices | Help |
|
---|
|
Generic Remoting gateway.
|
|||
_request_class Remoting service request. |
|
|||
|
|||
|
|||
|
|||
|
|||
ServiceRequest |
|
||
|
|||
Envelope |
|
||
bool
|
|
||
|
|||
bool
|
|
||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Callable or None
|
authenticator A callable that will check the credentials of the request before allowing access to the service. |
||
bool
|
debug Provides debugging information when an error occurs. |
||
logger A logging instance. |
|||
Callable or None
|
preprocessor Called before the actual service method is invoked. |
||
ServiceCollection |
services A map of service names to callables. |
||
bool
|
strict Defines whether the gateway should use strict en/decoding. |
||
timezone_offset A datetime.timedelta between UTC and the
timezone to be encoded.
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Adds a service to the gateway.
|
Removes a service from the gateway.
|
Returns a service based on the message.
|
Returns request processor.
|
Returns the response to the request. Any implementing gateway must define this function. |
Decides whether the underlying http request should be exposed as the first argument to the method call. This is granular, looking at the service method first, then at the service level and finally checking the gateway.
|
Gets an authenticator callable based on the service_request. This is
granular, looking at the service method first, then at the service level
and finally to see if there is a global authenticator function for the
gateway. Returns |
Processes an authentication request. If no authenticator is supplied, then authentication succeeds.
|
Gets a preprocessor callable based on the service_request. This is
granular, looking at the service method first, then at the service level
and finally to see if there is a global preprocessor function for the
gateway. Returns |
|
authenticatorA callable that will check the credentials of the request before allowing access to the service. Will return abool value.
|
debugProvides debugging information when an error occurs. Use only in non production settings.
|
preprocessorCalled before the actual service method is invoked. Useful for setting up sessions etc.
|
timezone_offsetAdatetime.timedelta between UTC and the
timezone to be encoded. Most dates should be handled as UTC to avoid
confusion but for older legacy systems this is not an option. Supplying
an int as this will be interpretted in seconds.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Sep 19 14:56:41 2009 | http://epydoc.sourceforge.net |