Pyro4 library API
This chapter describes Pyro’s library API. All Pyro classes and functions are defined in sub packages
such as Pyro4.core
, but for ease of use, the most important ones are also placed in the
Pyro4
package scope.
Pyro4
— Main API packagePyro4.core
— core Pyro logicDaemon
Daemon.annotations()
Daemon.clientDisconnect()
Daemon.close()
Daemon.combine()
Daemon.events()
Daemon.handleRequest()
Daemon.housekeeping()
Daemon.locationStr
Daemon.natLocationStr
Daemon.objectsById
Daemon.proxyFor()
Daemon.register()
Daemon.requestLoop()
Daemon.resetMetadataCache()
Daemon.selector
Daemon.serveSimple()
Daemon.shutdown()
Daemon.sock
Daemon.sockets
Daemon.unregister()
Daemon.uriFor()
Daemon.validateHandshake()
DaemonObject
Proxy
SerializedBlob
URI
_StreamResultIterator
asyncproxy()
batch()
behavior()
callback()
current_context
expose()
oneway()
Pyro4.naming
— Pyro name serverPyro4.util
— Utilities and serializersCloudpickleSerializer
DillSerializer
JsonSerializer
MarshalSerializer
MsgpackSerializer
PickleSerializer
SerializerBase
SerializerBase.class_to_dict()
SerializerBase.deserializeCall()
SerializerBase.deserializeData()
SerializerBase.dict_to_class()
SerializerBase.register_class_to_dict()
SerializerBase.register_dict_to_class()
SerializerBase.serializeCall()
SerializerBase.serializeData()
SerializerBase.unregister_class_to_dict()
SerializerBase.unregister_dict_to_class()
SerpentSerializer
excepthook()
fixIronPythonExceptionForPickle()
formatTraceback()
getAttribute()
getPyroTraceback()
get_exposed_members()
get_exposed_property_value()
is_private_attribute()
reset_exposed_members()
set_exposed_property_value()
Pyro4.socketutil
— Socket related utilitiesPyro4.message
— Pyro wire protocol messagePyro4.constants
— Constant value definitionsPyro4.config
— Configuration itemsPyro4.errors
— Exception classesPyro4.test.echoserver
— Built-in echo server for testing purposesPyro4.utils.flame
— Foreign Location Automatic Module ExposerPyro4.futures
— asynchronous calls- Socket server API contract