The networking module contains various modules pertaining to setting up system components in a networked fashion (e.g., through server and client sockets).
The Connection class handles receiving data from a single socket connected to a server.
This class implements the pyamp.processes.Thread and the pyamp.logging.Loggable interfaces.
Called for each cycle of the pyamp.processes.Thread.
Called in the event of an exception.
Called in the event that the pyamp.processes.Thread is shutdown.
The Server class handles creating a server on a specific host and port. It also handles multiple connections to the server while being able to receive data from any of those connections.
This class implements the pyamp.processes.Thread and pyamp.logging.Loggable interfaces.
Close an open connection.
Called for every cycle of the pyamp.processes.Thread.
Called in the event that data is received.
Called in the event that the pyamp.processes.Thread is shutdown.
Called when the pyamp.processes.Thread is started.
Handle the newly opened connection.