Public Member Functions | |
def | __init__ |
def | run |
Private Attributes | |
__host | |
__perfcmds | |
__port | |
__queue |
Definition at line 246 of file cmsPerfClient.py.
def cmsPerfClient::Worker::__init__ | ( | self, | ||
host, | ||||
port, | ||||
perfcmds, | ||||
queue | ||||
) |
def cmsPerfClient::Worker::run | ( | self | ) |
Definition at line 255 of file cmsPerfClient.py.
00255 : 00256 try: 00257 data = request_benchmark(self.__perfcmds, self.__host, self.__port) 00258 #Debugging 00259 print "data is %s"%data 00260 print "Puttin it in the queue as (%s,%s)"%(self.__host,data) 00261 self.__queue.put((self.__host, data)) 00262 except (exceptions.Exception, xmlrpclib.Fault), detail: 00263 print "Exception was thrown when receiving/submitting job information to host", self.__host, ". Exception information:" 00264 print detail 00265 sys.stdout.flush() 00266 ##########################
cmsPerfClient::Worker::__host [private] |
Definition at line 250 of file cmsPerfClient.py.
cmsPerfClient::Worker::__perfcmds [private] |
Definition at line 249 of file cmsPerfClient.py.
cmsPerfClient::Worker::__port [private] |
Definition at line 251 of file cmsPerfClient.py.
cmsPerfClient::Worker::__queue [private] |
Definition at line 252 of file cmsPerfClient.py.