示例#1
0
 def __init__(self, jid, password, hypervisor, configuration, name):
     """
     The contructor of the class.
     @type jid: string
     @param jid: the jid of the L{TNArchipelVirtualMachine}
     @type password: string
     @param password: the password associated to the JID
     @type hypervisor: L{TNArchipelHypervisor}
     @param hypervisor: the hypervisor of the VM
     @type name: string
     @param name: the name of the VM
     """
     Thread.__init__(self)
     self.jid = jid
     self.password = password
     self.xmppvm = TNArchipelVirtualMachine(self.jid, self.password,
                                            hypervisor, configuration, name)