Pyro
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
Tips & Tricks
Configuring Pyro
Pyro5 library API
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
Pyro5.nameserver command line option
--bcport
Pyro5.nameserver command line option
--help
Pyro5.nameserver command line option
Pyro5.nsc command line option
Pyro5.utils.echoserver command line option
Pyro5.utils.httpgateway command line option
--host
Pyro5.nameserver command line option
Pyro5.nsc command line option
--nathost
Pyro5.nameserver command line option
--natport
Pyro5.nameserver command line option
--nobc
Pyro5.nameserver command line option
--port
Pyro5.nameserver command line option
Pyro5.nsc command line option
--storage
Pyro5.nameserver command line option
--unixsocket
Pyro5.nameserver command line option
Pyro5.nsc command line option
--verbose
Pyro5.nsc command line option
-h
Pyro5.nameserver command line option
Pyro5.nsc command line option
Pyro5.utils.echoserver command line option
Pyro5.utils.httpgateway command line option
-n
Pyro5.nameserver command line option
Pyro5.nsc command line option
-p
Pyro5.nameserver command line option
Pyro5.nsc command line option
-s
Pyro5.nameserver command line option
-u
Pyro5.nameserver command line option
Pyro5.nsc command line option
-v
Pyro5.nsc command line option
-x
Pyro5.nameserver command line option
.NET
127.0.0.1
2-way-SSL
@Pyro5.api.callback
@Pyro5.api.oneway
client handling
@Pyro5.server.behavior
@Pyro5.server.expose
@Pyro5.server.oneway
_
__call__() (batchproxy method)
_pyroBind() (Pyro5.api.Proxy method)
(Pyro5.client.Proxy method)
_pyroHandshake (Pyro5.api.Proxy attribute)
(Pyro5.client.Proxy attribute)
_pyroLocalSocket (Pyro5.api.Proxy attribute)
(Pyro5.client.Proxy attribute)
_pyroMaxRetries (Pyro5.api.Proxy attribute)
(Pyro5.client.Proxy attribute)
_pyroReconnect() (Pyro5.api.Proxy method)
(Pyro5.client.Proxy method)
_pyroRelease() (Pyro5.api.Proxy method)
(Pyro5.client.Proxy method)
_pyroSerializer (Pyro5.api.Proxy attribute)
(Pyro5.client.Proxy attribute)
_pyroTimeout (Pyro5.api.Proxy attribute)
(Pyro5.client.Proxy attribute)
_pyroValidateHandshake() (Pyro5.api.Proxy method)
(Pyro5.client.Proxy method)
A
add_payload() (Pyro5.protocol.ReceivingMessage method)
annotations
(Pyro5.current_context attribute)
annotations() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
attributes added to Pyro objects
automatic
reconnecting
automatic proxying
B
batch calls
BatchProxy (class in Pyro5.api)
(class in Pyro5.client)
behavior() (in module Pyro5.api)
(in module Pyro5.compatibility.Pyro4)
(in module Pyro5.server)
benchmark
Best practices
binary blob
see also binary data transfer
binary data transfer
bind_unused_port() (in module Pyro5.socketutil)
broadcast lookup
name server
built-in function
Daemon()
locate_ns()
C
C#
callback
decorator
callback() (in module Pyro5.api)
(in module Pyro5.compatibility.Pyro4)
(in module Pyro5.server)
calling methods
Proxy
calling remote objects
certificate verification
class_to_dict() (Pyro5.api.SerializerBase class method)
cleaning up
Proxy
Pyro daemon
client (Pyro5.current_context attribute)
client code
client handling
@Pyro5.api.oneway
client method call
oneway
client_sock_addr (Pyro5.current_context attribute)
clientDisconnect() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
close() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
(SocketServer_API method)
combine() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
Combining Daemons
command line
configuration check
echo server
HTTP gateway server
name server
command line tools
CommunicationError
concepts and tools
tutorial
concurrency model
configuration
environment variables
configuration check
command line
configuration items
logging
name server
connection refused
ConnectionClosedError
correlation_id
(Pyro5.current_context attribute)
count() (Pyro5.nameserver.NameServer method)
create_bc_socket() (in module Pyro5.socketutil)
create_socket() (in module Pyro5.socketutil)
creating a daemon
Pyro daemon
current config
current_context
(in module Pyro5.callcontext)
D
Daemon
Metadata
Daemon (class in Pyro5.api)
(class in Pyro5.compatibility.Pyro4)
(class in Pyro5.server)
Daemon API
Daemon()
built-in function
DaemonError
DaemonObject (class in Pyro5.api)
(class in Pyro5.server)
decorator
callback
expose
oneway
decorators
deserialization
deserialized() (Pyro5.api.SerializedBlob method)
(Pyro5.client.SerializedBlob method)
deserializing custom classes
dict_to_class() (Pyro5.api.SerializerBase class method)
different user id
security
disclaimer
dispatcher
DNS
dotted names
security
E
echo server
command line
echo()
(Pyro5.utils.echoserver.EchoServer method)
EchoServer (class in Pyro5.utils.echoserver)
encryption
security
environment variables
configuration
security
error handling
error()
(Pyro5.utils.echoserver.EchoServer method)
error_with_text() (Pyro5.utils.echoserver.EchoServer method)
event loop
integrate Pyro's requestLoop
events() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
(SocketServer_API method)
example
excepthook() (in module Pyro5.errors)
exception hook
exception in callback
exceptions
expose
decorator
expose() (in module Pyro5.api)
(in module Pyro5.compatibility.Pyro4)
(in module Pyro5.server)
F
failed to locate the nameserver
features
file transfer
find_probably_unused_port() (in module Pyro5.socketutil)
firewall
format_traceback() (in module Pyro5.errors)
G
gateway
generator() (Pyro5.utils.echoserver.EchoServer method)
get_interface() (in module Pyro5.socketutil)
get_ip_address() (in module Pyro5.socketutil)
get_metadata() (Pyro5.api.DaemonObject method)
(Pyro5.server.DaemonObject method)
get_pyro_traceback() (in module Pyro5.errors)
get_ssl_context() (in module Pyro5.socketutil)
H
handleRequest() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
handshake
housekeeping() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
HTTP gateway server
command line
I
info() (Pyro5.api.DaemonObject method)
(Pyro5.server.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
interrupt_socket() (in module Pyro5.socketutil)
IP address
IPv6
isUnixsockLocation() (Pyro5.api.URI static method)
(Pyro5.core.URI static method)
J
Java
json
serialization
L
license
list() (Pyro5.nameserver.NameServer method)
localhost
locate_ns()
built-in function
locate_ns() (in module Pyro5.api)
(in module Pyro5.core)
locating the name server
name server
location
(Pyro5.api.URI property)
(Pyro5.core.URI property)
locationStr (Pyro5.api.Daemon attribute)
(Pyro5.server.Daemon attribute)
(SocketServer_API attribute)
log_wiredata() (in module Pyro5.protocol)
Logging
logging
configuration items
lookup() (Pyro5.nameserver.NameServer method)
loop() (SocketServer_API method)
M
marshal
serialization
MessageTooLargeError
Metadata
Daemon
name server
misc features
module
Pyro5.api
Pyro5.callcontext
Pyro5.client
Pyro5.compatibility.Pyro4
Pyro5.core
Pyro5.errors
Pyro5.nameserver
Pyro5.protocol
Pyro5.server
Pyro5.socketutil
Pyro5.utils.echoserver
Pyro5.utils.httpgateway
msg_flags (Pyro5.current_context attribute)
msgpack
serialization
multiple NICs
multiplex
server type
N
Name Server
name server
broadcast lookup
command line
configuration items
locating the name server
Metadata
name server control
registering objects
unregistering objects
Yellow-pages
Name Server API
name server control
name server
NameServer (class in Pyro5.nameserver)
NamingError
NAT
network adapter binding
network interfaces
security
Numpy
numpy.ndarray
O
object discovery
object graphs
object name
object serialization
object traversal
security
obtaining Pyro
installing Pyro
oneway
client method call
decorator
oneway decorator
oneway() (in module Pyro5.api)
(in module Pyro5.compatibility.Pyro4)
(in module Pyro5.server)
oneway_echo() (Pyro5.utils.echoserver.EchoServer method)
oneway_slow() (Pyro5.utils.echoserver.EchoServer method)
P
performance
ping() (Pyro5.api.DaemonObject method)
(Pyro5.nameserver.NameServer method)
(Pyro5.protocol.SendingMessage static method)
(Pyro5.server.DaemonObject method)
private methods
ProtocolError
Proxy
calling methods
cleaning up
remote attributes
Proxy (class in Pyro5.api)
(class in Pyro5.client)
(class in Pyro5.compatibility.Pyro4)
proxy sharing
proxyFor() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
publishing objects
publishing objects oneliner
Pyro daemon
cleaning up
creating a daemon
registering objects/classes
shutdown
unregistering objects
PYRO protocol type
pyro5-check-config
Pyro5.api
module
Pyro5.callcontext
module
Pyro5.client
module
Pyro5.compatibility.Pyro4
module
Pyro5.core
module
Pyro5.errors
module
Pyro5.nameserver
module
Pyro5.nameserver command line option
--bchost
--bcport
--help
--host
--nathost
--natport
--nobc
--port
--storage
--unixsocket
-h
-n
-p
-s
-u
-x
Pyro5.nsc command line option
--help
--host
--port
--unixsocket
--verbose
-h
-n
-p
-u
-v
Pyro5.protocol
module
Pyro5.server
module
Pyro5.socketutil
module
Pyro5.utils.echoserver
module
Pyro5.utils.echoserver command line option
--help
-h
Pyro5.utils.httpgateway
module
Pyro5.utils.httpgateway command line option
--help
-h
pyro_app() (in module Pyro5.utils.httpgateway)
PyroError
Pyrolite
PYROMETA protocol type
PYRONAME protocol type
,
[1]
R
receive_data() (in module Pyro5.socketutil)
ReceivingMessage (class in Pyro5.protocol)
reconnecting
automatic
recv_stub() (in module Pyro5.protocol)
register()
(Daemon method)
(Pyro5.api.Daemon method)
(Pyro5.nameserver.NameServer method)
(Pyro5.server.Daemon method)
register_class_to_dict() (in module Pyro5.api)
(Pyro5.api.SerializerBase class method)
register_dict_to_class() (in module Pyro5.api)
(Pyro5.api.SerializerBase class method)
registered() (Pyro5.api.DaemonObject method)
(Pyro5.server.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() (Pyro5.nameserver.NameServer method)
request loop
requestLoop() (Daemon method)
(Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
requirements for Pyro
installing Pyro
reset config to default
reset() (Pyro5.config method)
resetMetadataCache() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
resolve() (in module Pyro5.api)
(in module Pyro5.core)
resolving object names
resource-tracking
response_annotations (Pyro5.current_context attribute)
router
S
scaling Name Server connections
security
different user id
dotted names
encryption
environment variables
network interfaces
object traversal
SecurityError
selector (Pyro5.api.Daemon property)
(Pyro5.server.Daemon property)
send_data() (in module Pyro5.socketutil)
SendingMessage (class in Pyro5.protocol)
seq (Pyro5.current_context attribute)
serialization
json
marshal
msgpack
serpent
server
SerializedBlob (class in Pyro5.api)
(class in Pyro5.client)
SerializeError
SERIALIZER
serializer_id (Pyro5.current_context attribute)
SerializerBase (class in Pyro5.api)
serializing custom classes
serpent
serialization
serve
serve()
(in module Pyro5.api)
(in module Pyro5.server)
server
serialization
server code
server type
multiplex
threaded
what to choose?
server types
SERVERTYPE
serveSimple() (Pyro5.api.Daemon static method)
(Pyro5.server.Daemon static method)
set_keepalive() (in module Pyro5.socketutil)
set_metadata() (Pyro5.nameserver.NameServer method)
set_nodelay() (in module Pyro5.socketutil)
set_noinherit() (in module Pyro5.socketutil)
set_reuseaddr() (in module Pyro5.socketutil)
shutdown
Pyro daemon
shutdown()
(Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
(Pyro5.utils.echoserver.EchoServer method)
(SocketServer_API method)
slow() (Pyro5.utils.echoserver.EchoServer method)
sock (Pyro5.api.Daemon property)
(Pyro5.server.Daemon property)
(SocketServer_API attribute)
SocketConnection (class in Pyro5.socketutil)
socketpair
sockets (Pyro5.api.Daemon property)
(Pyro5.server.Daemon property)
(SocketServer_API attribute)
SocketServer_API (built-in class)
software license
SSL
start_ns() (in module Pyro5.api)
(in module Pyro5.nameserver)
start_ns_loop() (in module Pyro5.api)
(in module Pyro5.nameserver)
starting the name server
T
threaded
server type
TimeoutError
timeouts
Tips & trics
TLS
traceback information
track_resource() (Pyro5.current_context method)
tutorial
,
[1]
concepts and tools
type_meta() (in module Pyro5.api)
(in module Pyro5.core)
U
unregister() (Daemon method)
(Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
unregister_class_to_dict() (in module Pyro5.api)
(Pyro5.api.SerializerBase class method)
unregister_dict_to_class() (in module Pyro5.api)
(Pyro5.api.SerializerBase class method)
unregistering objects
name server
Pyro daemon
untrack_resource() (Pyro5.current_context method)
upgrading from Pyro4
URI (class in Pyro5.api)
(class in Pyro5.compatibility.Pyro4)
(class in Pyro5.core)
uriFor() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
usage
user provided sockets
V
validate() (Pyro5.protocol.ReceivingMessage static method)
validateHandshake() (Pyro5.api.Daemon method)
(Pyro5.server.Daemon method)
W
wakeup() (SocketServer_API method)
what is Pyro
what to choose?
server type
wire protocol version
Y
Yellow-pages
name server
yplookup() (Pyro5.nameserver.NameServer method)