public class IWebsessionManager extends IUnknown
Constructor and Description |
---|
IWebsessionManager(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
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 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). |
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) |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IWebsessionManager(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
public static IWebsessionManager queryInterface(IUnknown obj)
public IVirtualBox logon(java.lang.String username, java.lang.String password)
public ISession getSessionObject(IVirtualBox refIVirtualBox)
ISession
public void logoff(IVirtualBox refIVirtualBox)
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).