tags:

views:

28

answers:

0

I have 100 units having TCP socket implementation and answering to commands from a server, I would like to implement this server listening on other end from web framework (registering or deleting a unit, then create a tcp client to this twisted server) then the server creates a task.LoopingCall with specific delay per unit to run multiple commands periodically individually at another end. Here's the loop. - A unit created from web framework. - Web framework triggers the server with unit information (interval time, location). - The server response to the web and terminate the connection. - The server initiates periodic calls to the unit to run multiple commands on the units and grab info from units and update to database.