org.virtualbox_5_1
Class IWebsessionManager
java.lang.Object
org.virtualbox_5_1.IUnknown
org.virtualbox_5_1.IWebsessionManager
public class IWebsessionManager
- extends IUnknown
Websession manager. This provides essential services
to webservice clients.
Interface ID: {930C8FEA-453A-4A65-ACA9-19ED9A872F88}
Constructor Summary |
IWebsessionManager(java.lang.String wrapped,
org.virtualbox_5_1.ObjectRefManager objMgr,
org.virtualbox_5_1.jaxws.VboxPortType port)
|
Method Summary |
ISession |
getSessionObject(IVirtualBox refIVirtualBox)
Returns a managed object reference to a new ISession object for every
call to this method. |
void |
logoff(IVirtualBox refIVirtualBox)
Logs off the client who has previously logged on withlogon(String,String) and destroys all resources associated with the websession (most
importantly, all managed objects created in the server while the
websession was active). |
IVirtualBox |
logon(java.lang.String username,
java.lang.String password)
Logs a new client onto the webservice and returns a managed object reference to
the IVirtualBox instance, which the client can then use as a basis to further
queries, since all calls to the VirtualBox API are based on the IVirtualBox
interface, in one way or the other. |
static IWebsessionManager |
queryInterface(IUnknown obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IWebsessionManager
public IWebsessionManager(java.lang.String wrapped,
org.virtualbox_5_1.ObjectRefManager objMgr,
org.virtualbox_5_1.jaxws.VboxPortType port)
queryInterface
public static IWebsessionManager queryInterface(IUnknown obj)
logon
public IVirtualBox logon(java.lang.String username,
java.lang.String password)
- Logs a new client onto the webservice and returns a managed object reference to
the IVirtualBox instance, which the client can then use as a basis to further
queries, since all calls to the VirtualBox API are based on the IVirtualBox
interface, in one way or the other.
getSessionObject
public ISession getSessionObject(IVirtualBox refIVirtualBox)
- Returns a managed object reference to a new ISession object for every
call to this method.
- See Also:
ISession
logoff
public void logoff(IVirtualBox refIVirtualBox)
- Logs off the client who has previously logged on with
logon(String,String)
and destroys all resources associated with the websession (most
importantly, all managed objects created in the server while the
websession was active).