org.virtualbox_5_2
Class IGuestSessionStateChangedEvent

java.lang.Object
  extended by org.virtualbox_5_2.IUnknown
      extended by org.virtualbox_5_2.IEvent
          extended by org.virtualbox_5_2.IGuestSessionEvent
              extended by org.virtualbox_5_2.IGuestSessionStateChangedEvent

public class IGuestSessionStateChangedEvent
extends IGuestSessionEvent

Notification when a guest session changed its state. Interface ID: {327E3C00-EE61-462F-AED3-0DFF6CBF9904}


Field Summary
 
Fields inherited from class org.virtualbox_5_2.IUnknown
obj, objMgr, port
 
Constructor Summary
IGuestSessionStateChangedEvent(java.lang.String wrapped, org.virtualbox_5_2.ObjectRefManager objMgr, org.virtualbox_5_2.jaxws.VboxPortType port)
           
 
Method Summary
 IVirtualBoxErrorInfo getError()
          Error information in case of new session status is indicating an error.
 java.lang.Long getId()
          Session ID of guest session which was changed.
 GuestSessionStatus getStatus()
          New session status.
static IGuestSessionStateChangedEvent queryInterface(IUnknown obj)
           
 
Methods inherited from class org.virtualbox_5_2.IGuestSessionEvent
getSession
 
Methods inherited from class org.virtualbox_5_2.IEvent
getSource, getType, getWaitable, setProcessed, waitProcessed
 
Methods inherited from class org.virtualbox_5_2.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

IGuestSessionStateChangedEvent

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

getId

public java.lang.Long getId()
Session ID of guest session which was changed.

Returns:
Long

getStatus

public GuestSessionStatus getStatus()
New session status.

Returns:
org.virtualbox_5_2.GuestSessionStatus

getError

public IVirtualBoxErrorInfo getError()
Error information in case of new session status is indicating an error. The attributeIVirtualBoxErrorInfo.getResultDetail()will contain the runtime (IPRT) error code from the guest. See include/iprt/err.h and include/VBox/err.h for details.

Returns:
org.virtualbox_5_2.IVirtualBoxErrorInfo

queryInterface

public static IGuestSessionStateChangedEvent queryInterface(IUnknown obj)