com.wrq.vhi.sconfig
Interface IDomainAdminSession


public interface IDomainAdminSession

Interface class for configuring VHI servers in a domain. Use the ServerConfig.newDomainAdminSession() methods to create instances of this interface.


Method Summary
 void close()
          Close a connection to a set of VHI servers in a domain.
 java.util.List open()
          Open a connection to a set of VHI servers in a domain, for the purpose of reading or updating model variable lists.
 void setConnection(IAADSConnection aadsConn)
          Update our reference to an IAADSConnection instance.
 void setDomainName(java.lang.String name)
          Set the VHI domain name.
 void setPassword(java.lang.String password)
          Update the password used for authentication.
 void setUsername(java.lang.String username)
          Update the username used for authentication.
 

Method Detail

setConnection

void setConnection(IAADSConnection aadsConn)
Update our reference to an IAADSConnection instance.

Parameters:
aadsConn - Reference to an instance of an IAADSConnection
Throws:
java.lang.IllegalArgumentException - if argument is null.

setDomainName

void setDomainName(java.lang.String name)
Set the VHI domain name.

Parameters:
name - Name of VHI domain.
Throws:
java.lang.IllegalArgumentException - if argument is null.

setUsername

void setUsername(java.lang.String username)
Update the username used for authentication.

Parameters:
username - Username for authentication

setPassword

void setPassword(java.lang.String password)
Update the password used for authentication.

Parameters:
password - Password for authentication

open

java.util.List open()
Open a connection to a set of VHI servers in a domain, for the purpose of reading or updating model variable lists. This method must be called before reading or updating model variable lists.

Returns:
List of SCStatus container objects detailing errors, or null of the operation has fully succeeded.

close

void close()
Close a connection to a set of VHI servers in a domain.