Hi,
I'm trying to do some automation and have following snippet of code
void doRevert(String machineUUID) {
VboxService service = new VboxService();
VboxPortType port = service.getVboxServicePort();
try {
System.out.println("Reverting " + machineUUID);
String box = port.iWebsessionManagerLogon("", "");
port.iConsoleDiscardCurrentState(_this);
port.iWebsessionManagerLogoff(box);
} catch (InvalidObjectFaultMsg ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
} catch (RuntimeFaultMsg ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
}
}
I'm not able to find the way from the machine to it's respective console
to be able to use method iConsoleDiscardCurrentState. I suppose that
it's parameter "_this" is a reference to the Console.
But where to get it... That's the question.
Currently working with VirtualBox 1.6.4.
Thanks in advance,
JiT
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev