Package conduit :: Package modules :: Package NetworkModule :: Module XMLRPCUtils :: Class DataproviderServer
[hide private]

Class DataproviderServer

source code


Wraps a dataproviderwrapper in order to pickle args and deal with exceptions in the sync process

Instance Methods [hide private]
 
__init__(self, wrapper, port) source code
 
get_info(self)
Return information about this dataprovider (so that client can show correct icon, name, description etc)
source code
 
refresh(self) source code
 
get_all(self) source code
 
get(self, LUID) source code
 
put(self, binaryData, overwrite, LUID) source code
 
delete(self, LUID) source code
 
finish(self, aborted, error, conflict) source code

Inherited from StoppableXMLRPCServer: get_request, serve, start, stop

Inherited from SocketServer.TCPServer: close_request, fileno, server_activate, server_bind, server_close

Inherited from SocketServer.BaseServer: finish_request, handle_error, handle_request, process_request, serve_forever, verify_request

Inherited from SimpleXMLRPCServer.SimpleXMLRPCDispatcher: register_function, register_instance, register_introspection_functions, register_multicall_functions, system_listMethods, system_methodHelp, system_methodSignature, system_multicall

Inherited from SimpleXMLRPCServer.SimpleXMLRPCDispatcher (private): _dispatch, _marshaled_dispatch

Class Variables [hide private]

Inherited from StoppableXMLRPCServer: allow_reuse_address

Inherited from SocketServer.TCPServer: address_family, request_queue_size, socket_type

Method Details [hide private]

__init__(self, wrapper, port)
(Constructor)

source code 
Overrides: StoppableXMLRPCServer.__init__

refresh(self)

source code 
Decorators:
  • @Utils.log_function_call(slog)

get_all(self)

source code 
Decorators:
  • @Utils.log_function_call(slog)

get(self, LUID)

source code 
Decorators:
  • @Utils.log_function_call(slog)

put(self, binaryData, overwrite, LUID)

source code 
Decorators:
  • @Utils.log_function_call(slog)

delete(self, LUID)

source code 
Decorators:
  • @Utils.log_function_call(slog)

finish(self, aborted, error, conflict)

source code 
Decorators:
  • @Utils.log_function_call(slog)