org.virtualbox_5_0
Class IWebsessionManager

java.lang.Object
  extended by org.virtualbox_5_0.IUnknown
      extended by org.virtualbox_5_0.IWebsessionManager

public class IWebsessionManager
extends IUnknown

Websession manager. This provides essential services to webservice clients. Interface ID: {930C8FEA-453A-4A65-ACA9-19ED9A872F88}


Field Summary
 
Fields inherited from class org.virtualbox_5_0.IUnknown
obj, objMgr, port
 
Constructor Summary
IWebsessionManager(java.lang.String wrapped, org.virtualbox_5_0.ObjectRefManager objMgr, org.virtualbox_5_0.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 org.virtualbox_5_0.IUnknown
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IWebsessionManager

public IWebsessionManager(java.lang.String wrapped,
                          org.virtualbox_5_0.ObjectRefManager objMgr,
                          org.virtualbox_5_0.jaxws.VboxPortType port)
Method Detail

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 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).