Pyro4.test.echoserver — Built-in echo server for testing purposes¶
Echo server for test purposes. This is usually invoked by starting this module as a script:
python -m Pyro4.test.echoserver
It is also possible to use the EchoServer in user code
but that is not terribly useful.
-
class
Pyro4.test.echoserver.EchoServer¶ The echo server object that is provided as a Pyro object by this module. If its
verboseattribute is set toTrue, it will print messages as it receives calls.-
echo(args)¶ return the args
-
error()¶ generates a simple exception (division by zero)
-
shutdown()¶ called to signal the echo server to shut down
-