if (action.equals(ACTION_USAGEQUERY)) {
UsedAndReservedTime_Type usedReserved = null;
try {
usedReserved =
statusPort.queryUsedAndReservedTime(new VoidType());
} catch (RemoteException e) {
die(e, "Problem with query", client.isDebugMode());
}
Duration used = usedReserved.getUsedTime();