Changeset 29814 in vbox for trunk/src/VBox
- Timestamp:
- May 26, 2010 12:08:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r29805 r29814 1472 1472 1473 1473 do { 1474 util::AutoReadLock lock(g_pSessionsLockHandle COMMA_LOCKVAL_SRC_POS); 1475 1474 1476 ManagedObjectRef *pRef; 1475 1477 if (!ManagedObjectRef::findRefFromId(req->_USCOREthis, &pRef, false)) … … 1503 1505 1504 1506 do { 1507 util::AutoReadLock lock(g_pSessionsLockHandle COMMA_LOCKVAL_SRC_POS); 1508 1505 1509 ManagedObjectRef *pRef; 1506 1510 if ((rc = ManagedObjectRef::findRefFromId(req->_USCOREthis, &pRef, false))) … … 1556 1560 * client to clean up itself. 1557 1561 * 1558 * Preconditions: Caller must have locked g_mutexSessions.1559 * Since this gets called from main() like other SOAP method1560 * implementations, this is ensured.1561 *1562 1562 * @param 1563 1563 * @param vbox__IWebsessionManager_USCORElogon … … 1585 1585 req->password.c_str()))) 1586 1586 { 1587 // in the new session, create a managed object reference ( moref) for the1588 // global VirtualBox object; this encodes the session ID in the morefso1587 // in the new session, create a managed object reference (MOR) for the 1588 // global VirtualBox object; this encodes the session ID in the MOR so 1589 1589 // that it will be implicitly be included in all future requests of this 1590 1590 // webservice client … … 1604 1604 * Returns the ISession object that was created for the webservice client 1605 1605 * on logon. 1606 *1607 * Preconditions: Caller must have locked g_mutexSessions.1608 * Since this gets called from main() like other SOAP method1609 * implementations, this is ensured.1610 1606 */ 1611 1607 int __vbox__IWebsessionManager_USCOREgetSessionObject( … … 1637 1633 * hard-coded implementation for IWebsessionManager::logoff. 1638 1634 * 1639 * Preconditions: Caller must have locked g_mutexSessions.1640 * Since this gets called from main() like other SOAP method1641 * implementations, this is ensured.1642 *1643 1635 * @param 1644 1636 * @param vbox__IWebsessionManager_USCORElogon
Note:
See TracChangeset
for help on using the changeset viewer.