super_hydro.server.server

SuperHydro Server.

Functions

contextmanager(func)

@contextmanager decorator.

log(msg[, level])

Log msg to the logger.

log_task(msg[, level])

Context for tasks with paired start and Done messages.

nointerrupt(f)

Decorator that suspends signals and passes an interrupted flag to the protected function.

profile([filename])

run([block, network_server, interrupted, ...])

Load the configuration and start the server.

verifyClass(iface, candidate[, tentative])

Verify that the candidate might correctly provide iface.

Classes

Computation(opts, message_queue, ...)

Class which manages the actual computation and a queue for interacting with the clients.

NetworkServer(opts, **kwargs)

Network Server.

Server(opts, **kwargs)

Server Class.

ThreadMixin()

Couple of useful methods for threads.

deque

deque([iterable[, maxlen]]) --> deque object

implementer(*interfaces)

Declare the interfaces implemented by instances of a class.