Module

Interface for configuring modules

class iceprod.server.module.FakeStatsClient(*args, **kwargs)[source]
class iceprod.server.module.ElasticClient(hostname, basename='iceprod')[source]
head(name, index_name)[source]
get(name, index_name)[source]
post(name, index_name, data)[source]
put(name, index_name, data)[source]
class iceprod.server.module.module(cfg, io_loop, executor, modules)[source]

This is an abstract class representing a server module.

Parameters:
start()[source]

Set up a module.

Note that this is not on the io_loop and should not interact with other modules. Add a callback to the io_loop to do so.

stop()[source]
kill()[source]