public class IWebsessionManager extends IUnknown
| Constructor and Description |
|---|
IWebsessionManager(java.lang.String wrapped,
org.virtualbox_4_3.jaxws.VboxPortType port) |
| Modifier and Type | Method and Description |
|---|---|
ISession |
getSessionObject(IVirtualBox refIVirtualBox)
Returns a managed object reference to the internal ISession object that was created
for this web service session when the client logged on.
|
void |
logoff(IVirtualBox refIVirtualBox)
Logs off the client who has previously logged on with
logon(String,String)and destroys all resources associated with the session (most importantly, all
managed objects created in the server while the session 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) |
getRemoteWSPort, getWrapped, releaseRemotepublic IWebsessionManager(java.lang.String wrapped,
org.virtualbox_4_3.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)
ISessionpublic void logoff(IVirtualBox refIVirtualBox)
logon(String,String)and destroys all resources associated with the session (most importantly, all
managed objects created in the server while the session was active).