Pyro
4.82
Contents of this manual:
Intro and Example
Installing Pyro
Tutorial
Command line tools
Clients: Calling remote objects
Servers: hosting Pyro objects
Name Server
Security
Exceptions and remote tracebacks
Flame: Foreign Location Automatic Module Exposer
Tips & Tricks
Configuring Pyro
Pyro4 library API
Running on alternative Python implementations
Pyrolite - client library for Java and .NET
Change Log
Software License and Disclaimer
Pyro
Index
Index
Symbols
|
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
|
Y
Symbols
--bchost
Pyro4.naming command line option
--bcport
Pyro4.naming command line option
--help
Pyro4.naming command line option
Pyro4.nsc command line option
Pyro4.test.echoserver command line option
Pyro4.utils.httpgateway command line option
--host
Pyro4.naming command line option
Pyro4.nsc command line option
--key
Pyro4.naming command line option
Pyro4.nsc command line option
--nathost
Pyro4.naming command line option
--natport
Pyro4.naming command line option
--nobc
Pyro4.naming command line option
--port
Pyro4.naming command line option
Pyro4.nsc command line option
--storage
Pyro4.naming command line option
--unixsocket
Pyro4.naming command line option
Pyro4.nsc command line option
--verbose
Pyro4.nsc command line option
-h
Pyro4.naming command line option
Pyro4.nsc command line option
Pyro4.test.echoserver command line option
Pyro4.utils.httpgateway command line option
-k
Pyro4.naming command line option
Pyro4.nsc command line option
-n
Pyro4.naming command line option
Pyro4.nsc command line option
-p
Pyro4.naming command line option
Pyro4.nsc command line option
-s
Pyro4.naming command line option
-u
Pyro4.naming command line option
Pyro4.nsc command line option
-v
Pyro4.nsc command line option
-x
Pyro4.naming command line option
.NET
127.0.0.1
2-way-SSL
@Pyro4.behavior
@Pyro4.callback
@Pyro4.expose
@Pyro4.oneway
client handling
_
__call__() (batchproxy method)
_pyroAnnotations() (Pyro4.core.Proxy method)
_pyroAsync() (Pyro4.core.Proxy method)
_pyroBatch() (Pyro4.core.Proxy method)
_pyroBind() (Pyro4.core.Proxy method)
_pyroHandshake (Pyro4.core.Proxy attribute)
_pyroHmacKey (Pyro4.core.Proxy attribute)
_pyroMaxRetries (Pyro4.core.Proxy attribute)
_pyroReconnect() (Pyro4.core.Proxy method)
_pyroRelease() (Pyro4.core.Proxy method)
_pyroResponseAnnotations() (Pyro4.core.Proxy method)
_pyroSerializer (Pyro4.core.Proxy attribute)
_pyroTimeout (Pyro4.core.Proxy attribute)
_pyroValidateHandshake() (Pyro4.core.Proxy method)
_StreamResultIterator (class in Pyro4.core)
A
alternative Python implementations
annotations
(Pyro4.current_context attribute)
annotations() (Pyro4.core.Daemon method)
asString() (Pyro4.core.URI method)
asynchronous
asynchronous call
asyncproxy() (in module Pyro4)
(in module Pyro4.core)
attributes added to Pyro objects
automatic
reconnecting
automatic proxying
B
batch calls
batch() (in module Pyro4)
(in module Pyro4.core)
behavior() (in module Pyro4)
(in module Pyro4.core)
benchmark
Best practices
binary blob
see also binary data transfer
binary data transfer
bindOnUnusedPort() (in module Pyro4.socketutil)
broadcast lookup
name server
built-in function
Daemon()
locateNS()
builtin() (Pyro4.utils.flame.Flame method)
C
C#
call chaining
callback
decorator
callback() (in module Pyro4)
(in module Pyro4.core)
calling methods
Proxy
calling remote objects
cancel() (Pyro4.futures.Future method)
certificate verification
circular topology
class_to_dict() (Pyro4.util.MarshalSerializer class method)
(Pyro4.util.SerializerBase class method)
cleaning up
Proxy
Pyro daemon
clear() (Pyro4.naming_storage.DbmStorage method)
(Pyro4.naming_storage.SqlStorage method)
client (Pyro4.current_context attribute)
client code
client handling
@Pyro4.oneway
client method call
oneway
client_sock_addr (Pyro4.current_context attribute)
clientDisconnect() (Pyro4.core.Daemon method)
close() (Pyro4.core.Daemon method)
(SocketServer_API method)
cloudpickle
name server
security
serialization
CloudpickleSerializer (class in Pyro4.util)
combine() (Pyro4.core.Daemon method)
Combining Daemons
command line
configuration check
echo server
Flame server
HTTP gateway server
name server
command line tools
CommunicationError
concepts and tools
tutorial
concurrency model
config (in module Pyro4)
configuration
environment variables
configuration check
command line
configuration items
logging
name server
connect() (in module Pyro4.utils.flame)
connection refused
ConnectionClosedError
console() (Pyro4.utils.flame.Flame method)
correlation_id
(Pyro4.current_context attribute)
count() (Pyro4.naming.NameServer method)
createBroadcastSocket() (in module Pyro4.socketutil)
createModule() (in module Pyro4.utils.flame)
createSocket() (in module Pyro4.socketutil)
creating a daemon
Pyro daemon
current config
current_context
(in module Pyro4)
(in module Pyro4.core)
D
Daemon
Metadata
Daemon (class in Pyro4)
(class in Pyro4.core)
Daemon API
Daemon()
built-in function
DAEMON_NAME (in module Pyro4.constants)
DaemonError
DaemonObject (class in Pyro4.core)
DbmStorage (class in Pyro4.naming_storage)
decompress_if_needed() (Pyro4.message.Message method)
decorator
callback
expose
oneway
decorators
delay() (Pyro4.futures.Future method)
deserialization
deserializeCall() (Pyro4.util.SerializerBase method)
deserialized() (Pyro4.core.SerializedBlob method)
deserializeData() (Pyro4.util.SerializerBase method)
deserializing custom classes
dict_to_class() (Pyro4.util.SerializerBase class method)
(Pyro4.util.SerpentSerializer class method)
different user id
security
dill
name server
security
serialization
DILL_PROTOCOL_VERSION
DillSerializer (class in Pyro4.util)
disclaimer
dispatcher
DNS
dotted names
security
E
echo server
command line
echo()
(Pyro4.test.echoserver.EchoServer method)
EchoServer (class in Pyro4.test.echoserver)
enabling Flame
encryption
security
environment variables
configuration
security
error handling
error()
(Pyro4.test.echoserver.EchoServer method)
error_with_text() (Pyro4.test.echoserver.EchoServer method)
evaluate() (Pyro4.utils.flame.Flame method)
event loop
integrate Pyro's requestLoop
events() (Pyro4.core.Daemon method)
(SocketServer_API method)
example
excepthook() (in module Pyro4.util)
exception hook
exception in callback
exceptions
execute() (Pyro4.utils.flame.Flame method)
expose
decorator
expose() (in module Pyro4)
(in module Pyro4.core)
F
failed to locate the nameserver
features
file transfer
findProbablyUnusedPort() (in module Pyro4.socketutil)
firewall
fixIronPythonExceptionForPickle() (in module Pyro4.util)
FLAME
Flame (class in Pyro4.utils.flame)
Flame object
Flame remote console
Flame server
command line
FLAME_NAME (in module Pyro4.constants)
formatTraceback() (in module Pyro4.util)
from_header() (Pyro4.message.Message class method)
future
Future (class in Pyro4)
(class in Pyro4.futures)
FutureResult (class in Pyro4.futures)
futures
G
gateway
generator() (Pyro4.test.echoserver.EchoServer method)
get_exposed_members() (in module Pyro4.util)
get_exposed_property_value() (in module Pyro4.util)
get_metadata() (Pyro4.core.DaemonObject method)
getAttribute() (in module Pyro4.util)
getfile
getfile() (Pyro4.utils.flame.Flame method)
getInterfaceAddress() (in module Pyro4.socketutil)
getIpAddress() (in module Pyro4.socketutil)
getIpVersion() (in module Pyro4.socketutil)
getmodule() (Pyro4.utils.flame.Flame method)
getPyroTraceback() (in module Pyro4.util)
getSSLcontext() (in module Pyro4.socketutil)
H
handleRequest() (Pyro4.core.Daemon method)
handshake
history
HMAC signature
security
hmac() (Pyro4.message.Message method)
housekeeping() (Pyro4.core.Daemon method)
HTTP gateway server
command line
I
iferror()
(Pyro4.futures.Future method)
(Pyro4.futures.FutureResult method)
info() (Pyro4.core.DaemonObject method)
init() (SocketServer_API method)
installing Pyro
obtaining Pyro
requirements for Pyro
instance modes
instance_creator
instance_mode
integrate Pyro's requestLoop
event loop
interruptSocket() (in module Pyro4.socketutil)
IP address
IPv6
IronPython
is_private_attribute() (in module Pyro4.util)
isUnixsockLocation() (Pyro4.core.URI static method)
J
Java
json
serialization
JsonSerializer (class in Pyro4.util)
L
license
list() (Pyro4.naming.NameServer method)
localhost
locateNS()
built-in function
locateNS() (in module Pyro4)
(in module Pyro4.naming)
locating the name server
name server
location
(Pyro4.core.URI property)
locationStr (Pyro4.core.Daemon attribute)
(SocketServer_API attribute)
Logging
logging
configuration items
lookup() (Pyro4.naming.NameServer method)
loop() (SocketServer_API method)
M
marshal
serialization
MarshalSerializer (class in Pyro4.util)
Message (class in Pyro4.message)
MessageTooLargeError
Metadata
Daemon
name server
misc features
module
Pyro4
Pyro4.constants
Pyro4.core
Pyro4.errors
Pyro4.futures
Pyro4.message
Pyro4.naming
Pyro4.naming_storage
Pyro4.socketutil
Pyro4.test.echoserver
Pyro4.util
Pyro4.utils.flame
module() (Pyro4.utils.flame.Flame method)
msg_flags (Pyro4.current_context attribute)
MSG_WAITALL
msgpack
serialization
MsgpackSerializer (class in Pyro4.util)
multiple NICs
multiplex
server type
N
Name Server
name server
broadcast lookup
cloudpickle
command line
configuration items
dill
locating the name server
Metadata
name server control
pickle
registering objects
unregistering objects
Yellow-pages
Name Server API
name server control
name server
NameServer (class in Pyro4.naming)
NAMESERVER_NAME (in module Pyro4.constants)
NamingError
NAT
natLocationStr (Pyro4.core.Daemon attribute)
network adapter binding
network interfaces
security
Numpy
numpy.ndarray
O
object discovery
object graphs
object name
object serialization
object traversal
security
objectsById (Pyro4.core.Daemon attribute)
obtaining Pyro
installing Pyro
oneway
client method call
decorator
oneway decorator
oneway() (in module Pyro4)
(in module Pyro4.core)
oneway_echo() (Pyro4.test.echoserver.EchoServer method)
oneway_slow() (Pyro4.test.echoserver.EchoServer method)
P
performance
pickle
name server
security
serialization
PICKLE_PROTOCOL_VERSION
PickleSerializer (class in Pyro4.util)
ping() (Pyro4.core.DaemonObject method)
(Pyro4.message.Message static method)
(Pyro4.naming.NameServer method)
private methods
PROTOCOL_VERSION (in module Pyro4.constants)
ProtocolError
Proxy
calling methods
cleaning up
remote attributes
Proxy (class in Pyro4)
(class in Pyro4.core)
proxy sharing
proxyFor() (Pyro4.core.Daemon method)
publishing objects
publishing objects oneliner
Pypy
Pyro daemon
cleaning up
creating a daemon
registering objects/classes
shutdown
unregistering objects
PYRO protocol type
Pyro4
module
pyro4-check-config
Pyro4.constants
module
Pyro4.core
module
Pyro4.errors
module
Pyro4.futures
module
Pyro4.message
module
Pyro4.naming
module
Pyro4.naming command line option
--bchost
--bcport
--help
--host
--key
--nathost
--natport
--nobc
--port
--storage
--unixsocket
-h
-k
-n
-p
-s
-u
-x
Pyro4.naming_storage
module
Pyro4.nsc command line option
--help
--host
--key
--port
--unixsocket
--verbose
-h
-k
-n
-p
-u
-v
Pyro4.socketutil
module
Pyro4.test.echoserver
module
Pyro4.test.echoserver command line option
--help
-h
Pyro4.util
module
Pyro4.utils.flame
module
Pyro4.utils.httpgateway command line option
--help
-h
PyroError
Pyrolite
PYROMETA protocol type
PYRONAME protocol type
,
[1]
R
ready
(Pyro4.futures.FutureResult property)
receiveData() (in module Pyro4.socketutil)
reconnecting
automatic
recv() (Pyro4.message.Message class method)
register()
(Daemon method)
(Pyro4.core.Daemon method)
(Pyro4.naming.NameServer method)
register_class_to_dict() (Pyro4.util.SerializerBase class method)
register_dict_to_class() (Pyro4.util.SerializerBase class method)
registered() (Pyro4.core.DaemonObject method)
registering objects
name server
registering objects/classes
Pyro daemon
release proxy connection
releasing a proxy
remote attributes
Proxy
remote errors
remote iterators/generators
remote traceback
remove() (Pyro4.naming.NameServer method)
request loop
requestLoop() (Daemon method)
(Pyro4.core.Daemon method)
REQUIRE_EXPOSE
requirements for Pyro
installing Pyro
reset config to default
reset() (Pyro4.config method)
reset_exposed_members() (in module Pyro4.util)
resetMetadataCache() (Pyro4.core.Daemon method)
resolve() (in module Pyro4)
(in module Pyro4.naming)
resolving object names
resource-tracking
response_annotations (Pyro4.current_context attribute)
router
running on different machines
tutorial
S
same Python version
scaling Name Server connections
secure_compare() (in module Pyro4.message)
security
cloudpickle
different user id
dill
dotted names
encryption
environment variables
HMAC signature
network interfaces
object traversal
pickle
SecurityError
selector (Pyro4.core.Daemon property)
send() (Pyro4.message.Message method)
sendData() (in module Pyro4.socketutil)
sendfile
sendfile() (Pyro4.utils.flame.Flame method)
sendmodule() (Pyro4.utils.flame.Flame method)
seq (Pyro4.current_context attribute)
serialization
cloudpickle
dill
json
marshal
msgpack
pickle
serpent
server
serializeCall() (Pyro4.util.SerializerBase method)
serializeData() (Pyro4.util.SerializerBase method)
SerializedBlob (class in Pyro4.core)
SerializeError
SERIALIZER
serializer_id (Pyro4.current_context attribute)
SerializerBase (class in Pyro4.util)
SERIALIZERS_ACCEPTED
serializing custom classes
serpent
serialization
SerpentSerializer (class in Pyro4.util)
server
serialization
server code
server type
multiplex
threaded
what to choose?
server types
SERVERTYPE
serveSimple
serveSimple() (Daemon static method)
(Pyro4.core.Daemon static method)
set_exposed_property_value() (in module Pyro4.util)
set_metadata() (Pyro4.naming.NameServer method)
setKeepalive() (in module Pyro4.socketutil)
setNoDelay() (in module Pyro4.socketutil)
setNoInherit() (in module Pyro4.socketutil)
setReuseAddr() (in module Pyro4.socketutil)
shutdown
Pyro daemon
shutdown()
(Pyro4.core.Daemon method)
(Pyro4.test.echoserver.EchoServer method)
(SocketServer_API method)
slow() (Pyro4.test.echoserver.EchoServer method)
sock (Pyro4.core.Daemon property)
(SocketServer_API attribute)
SocketConnection (class in Pyro4.socketutil)
socketpair
sockets (Pyro4.core.Daemon property)
(SocketServer_API attribute)
SocketServer_API (built-in class)
software license
SqlStorage (class in Pyro4.naming_storage)
SSL
start() (in module Pyro4.utils.flame)
starting the name server
startNS() (in module Pyro4.naming)
startNSloop() (in module Pyro4.naming)
stock market example
tutorial
T
then()
(Pyro4.futures.Future method)
(Pyro4.futures.FutureResult method)
threaded
server type
TimeoutError
timeouts
Tips & trics
TLS
to_bytes() (Pyro4.message.Message method)
traceback information
track_resource() (Pyro4.current_context method)
tutorial
concepts and tools
running on different machines
stock market example
warehouse example
type_meta() (in module Pyro4.naming)
U
unregister() (Daemon method)
(Pyro4.core.Daemon method)
unregister_class_to_dict() (Pyro4.util.SerializerBase class method)
unregister_dict_to_class() (Pyro4.util.SerializerBase class method)
unregistering objects
name server
Pyro daemon
untrack_resource() (Pyro4.current_context method)
URI (class in Pyro4)
(class in Pyro4.core)
uriFor() (Pyro4.core.Daemon method)
usage
user provided sockets
V
validateHandshake() (Pyro4.core.Daemon method)
value
(Pyro4.futures.FutureResult property)
VERSION (in module Pyro4.constants)
W
wait()
(Pyro4.futures.FutureResult method)
wakeup() (SocketServer_API method)
warehouse example
tutorial
what is Pyro
what to choose?
server type
wire protocol version
Y
Yellow-pages
name server