Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  /*
   *  Copyright (C) 2010-2011 Oracle Corporation
   *
   *  This file is part of the VirtualBox SDK, as available from
   *  http://www.virtualbox.org.  This library is free software; you can
   *  redistribute it and/or modify it under the terms of the GNU Lesser General
   *  Public License as published by the Free Software Foundation, in version 2.1
   *  as it comes in the "COPYING.LIB" file of the VirtualBox SDK distribution.
  *  This library is distributed in the hope that it will be useful, but WITHOUT
  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
  *  License for more details.
  *
  * IVRDEServer.java
  *
  * DO NOT EDIT! This is a generated file.
  * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
  * Generator: src/VBox/Main/glue/glue-java.xsl
  */
 
 package org.virtualbox_4_2;
 
 import javax.xml.ws.*;
 import java.util.List;
 
 public class IVRDEServer extends IUnknown {
 
     public IVRDEServer(String wrappedVboxPortType port) {
           super(wrappedport);
     }
VRDE server status.

Returns:
Boolean
 
     public Boolean getEnabled() {
       try {
          Boolean retVal = .ivrdeServerGetEnabled();
          return retVal;
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
VRDE server status.

Parameters:
value Boolean
 
     public void setEnabled(Boolean value) {
       try {
         .ivrdeServerSetEnabled(value);
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
VRDE authentication method.

Returns:
org.virtualbox_4_2.AuthType
 
     public org.virtualbox_4_2.AuthType getAuthType() {
       try {
          return org.virtualbox_4_2.AuthType.fromValue(retVal.value());
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
VRDE authentication method.

Parameters:
value org.virtualbox_4_2.AuthType
 
     public void setAuthType(org.virtualbox_4_2.AuthType value) {
       try {
         .ivrdeServerSetAuthType(, org.virtualbox_4_2.jaxws.AuthType.fromValue(value.name()));
      } catch (InvalidObjectFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      } catch (RuntimeFaultMsg e) {
           throw new VBoxException(ee.getMessage());
      }
     }
Timeout for guest authentication. Milliseconds.

Returns:
Long
 
     public Long getAuthTimeout() {
       try {
          Long retVal = .ivrdeServerGetAuthTimeout();
          return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Timeout for guest authentication. Milliseconds.

Parameters:
value Long
    public void setAuthTimeout(Long value) {
      try {
        .ivrdeServerSetAuthTimeout(value);
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Flag whether multiple simultaneous connections to the VM are permitted. Note that this will be replaced by a more powerful mechanism in the future.

Returns:
Boolean
    public Boolean getAllowMultiConnection() {
      try {
         Boolean retVal = .ivrdeServerGetAllowMultiConnection();
         return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Flag whether multiple simultaneous connections to the VM are permitted. Note that this will be replaced by a more powerful mechanism in the future.

Parameters:
value Boolean
    public void setAllowMultiConnection(Boolean value) {
      try {
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Flag whether the existing connection must be dropped and a new connection must be established by the VRDE server, when a new client connects in single connection mode.

Returns:
Boolean
    public Boolean getReuseSingleConnection() {
      try {
         Boolean retVal = .ivrdeServerGetReuseSingleConnection();
         return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Flag whether the existing connection must be dropped and a new connection must be established by the VRDE server, when a new client connects in single connection mode.

Parameters:
value Boolean
    public void setReuseSingleConnection(Boolean value) {
      try {
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
The name of Extension Pack providing VRDE for this VM. Overrides ISystemProperties.getDefaultVRDEExtPack().

Returns:
String
    public String getVRDEExtPack() {
      try {
         String retVal = .ivrdeServerGetVRDEExtPack();
         return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
The name of Extension Pack providing VRDE for this VM. Overrides ISystemProperties.getDefaultVRDEExtPack().

Parameters:
value String
    public void setVRDEExtPack(String value) {
      try {
        .ivrdeServerSetVRDEExtPack(value);
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Library used for authentication of RDP clients by this VM. Overrides ISystemProperties.getVRDEAuthLibrary().

Returns:
String
    public String getAuthLibrary() {
      try {
         String retVal = .ivrdeServerGetAuthLibrary();
         return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Library used for authentication of RDP clients by this VM. Overrides ISystemProperties.getVRDEAuthLibrary().

Parameters:
value String
    public void setAuthLibrary(String value) {
      try {
        .ivrdeServerSetAuthLibrary(value);
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Array of names of properties, which are supported by this VRDE server.

Returns:
List<String>
    public List<StringgetVRDEProperties() {
      try {
         List<StringretVal = .ivrdeServerGetVRDEProperties();
         return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
    public static IVRDEServer queryInterface(IUnknown obj) {
       return obj == null ?  null : new IVRDEServer(obj.getWrapped(), obj.getRemoteWSPort());
    }
Sets a VRDE specific property string. If you pass null or empty string as a key value, the given key will be deleted.

Parameters:
key Name of the key to set.
value Value to assign to the key.
    public void setVRDEProperty(String keyString value) {
      try {
        .ivrdeServerSetVRDEProperty(keyvalue);
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
Returns a VRDE specific property string. If the requested data key does not exist, this function will succeed and return an empty string in the value argument.

Parameters:
key Name of the key to get.
Returns:
Value of the requested key.
    public String getVRDEProperty(String key) {
      try {
        String     retVal;
        retVal = .ivrdeServerGetVRDEProperty(key);
        return retVal;
     } catch (InvalidObjectFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     } catch (RuntimeFaultMsg e) {
          throw new VBoxException(ee.getMessage());
     }
    }
New to GrepCode? Check out our FAQ X