geneva.plugins.echo¶
Client
Run by the evaluator, echo’s data back and forth to the server
-
class
plugins.echo.client.
EchoClient
(args)¶ Bases:
plugins.plugin_client.ClientPlugin
Defines the Echo client.
-
__init__
(args)¶ Initializes the echo client.
-
static
get_args
(command)¶ Defines required args for this plugin
-
run
(args, logger, engine=None)¶ Try to make a forbidden GET request to the server.
-
name
= 'echo'¶
-
-
class
plugins.echo.server.
EchoServer
(args)¶ Bases:
plugins.plugin_server.ServerPlugin
Defines the Echo client.
-
__init__
(args)¶ Initializes the Echo client.
-
static
get_args
(command)¶ Defines arguments for this plugin
-
get_request
(control_socket)¶ Get a request from the socket.
-
run
(args, logger)¶ Initializes the Echo server.
-
stop
()¶ Stops this server.
-
name
= 'echo'¶
-