simtracker module

class simtracker.HttpServerThread(port)

Bases: threading.Thread

run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class simtracker.ListenThread(port)

Bases: threading.Thread

run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class simtracker.ReadThread(group=None, target=None, name=None, args=(), kwargs=None, verbose=None)

Bases: threading.Thread

run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class simtracker.TrackerHttpHandler(request, client_address, server)

Bases: BaseHTTPServer.BaseHTTPRequestHandler

do_GET()
log_message(format, *args)
class simtracker.TrackerHttpServer(address)

Bases: BaseHTTPServer.HTTPServer

class simtracker.WriteThread(group=None, target=None, name=None, args=(), kwargs=None, verbose=None)

Bases: threading.Thread

run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

simtracker.getListenPort()
simtracker.getWebPort()
simtracker.postmessage(peer, data)
simtracker.printMsg(msg)
simtracker.readmessage(s)
simtracker.sendclientlist(client, list)
simtracker.sendmessage(peer, data)
simtracker.serve(port, webport)

Starts the tracker and handles communication between peer machines.

simtracker.setVerbosity(verbose)
simtracker.waitForCompletion()
simtracker.waitForListener()
simtracker.writeBarrierInfo(wfile, job, jobname)
simtracker.writeBarrierPeerInfo(wfile, peerlist)
simtracker.writeHtml(wfile)
simtracker.writeJobInfo(wfile, job, jobname)
simtracker.writemessage(s, data)