CMS 3D CMS Logo

cmsPerfClient::Worker Class Reference

List of all members.

Public Member Functions

def __init__
def run

Private Attributes

 __host
 __perfcmds
 __port
 __queue


Detailed Description

Definition at line 246 of file cmsPerfClient.py.


Member Function Documentation

def cmsPerfClient::Worker::__init__ (   self,
  host,
  port,
  perfcmds,
  queue 
)

Definition at line 248 of file cmsPerfClient.py.

00248                                                    :
00249         self.__perfcmds = perfcmds
00250         self.__host  = host
00251         self.__port  = port
00252         self.__queue = queue
00253         threading.Thread.__init__(self)
00254 
    def run(self):

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 
##########################


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:36:41 2009 for CMSSW by  doxygen 1.5.4