gestalt.publish package¶
Submodules¶
gestalt.publish.publish module¶
gestalt.publish.rpc module¶
- 
class gestalt.publish.rpc.fileRPCDispatch¶
- Bases: - object- Reads in remote procedure calls from a file and executes them. - 
addFunctions(*args)¶
- Adds functions provided as arguments to the list of externally accessible functions. - Input to the function is a series of tuples (externalName, function). 
 - 
executeLine(line)¶
- Reads a string input and parses and then executes. 
 - 
loadFromFile(fileName)¶
 - 
loadFromURL(URL)¶
 - 
reset()¶
 - 
runFile()¶
 - 
runSingle()¶
 
- 
- 
class gestalt.publish.rpc.httpRPCDispatch(address='localhost', port=7272)¶
- Bases: - object- Receives remote procedure calls over HTTP and calls them from the server thread. - 
class HTTPHandler(request, client_address, server)¶
- Bases: - BaseHTTPServer.BaseHTTPRequestHandler- RPC Handler for requests using an HTTP protocol. - 
allowAllOrigins= False¶
 - 
allowOrigins= []¶
 - 
do_GET()¶
 - 
functions= {}¶
 - 
jsonEncoder= <json.encoder.JSONEncoder object>¶
 - 
log_message(format, *args)¶
 
- 
 - 
httpRPCDispatch.addFunctions(*args)¶
- Adds functions provided as arguments to the list of externally accessible functions. - Input to the function is a series of tuples (externalName, function). 
 - 
httpRPCDispatch.addOrigins(*args)¶
- Adds origins provided as arguments to the list of origins which can access the rpc interface. 
 - 
httpRPCDispatch.allowAllOrigins()¶
 - 
httpRPCDispatch.start()¶
 
- 
class