swot_simulator.logbook.LogRecordSocketReceiver.add_sockets

LogRecordSocketReceiver.add_sockets(sockets: Iterable[socket.socket]) None

Makes this server start accepting connections on the given sockets.

The sockets parameter is a list of socket objects such as those returned by ~tornado.netutil.bind_sockets. add_sockets is typically used in combination with that method and tornado.process.fork_processes to provide greater control over the initialization of a multi-process server.