VirtualBox

Changeset 20141 in vbox for trunk/src


Ignore:
Timestamp:
May 29, 2009 10:01:03 AM (16 years ago)
Author:
vboxsync
Message:

Python: cleanup of port forwarer script, additional method to simplify using API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/vboxapi.py

    r20118 r20141  
    250250        self.platform.initPerThread()
    251251
     252    def openMachineSession(self, machineId):
     253         session = self.mgr.getSessionObject(self.vbox)
     254         self.vbox.openSession(session, machineId)
     255         return session
     256
     257    def closeMachineSession(self, session):
     258        session.close()
     259
    252260    def deinitPerThread(self):
    253261        self.platform.deinitPerThread()
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette