|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerAdminSession
Interface class for working with a VHI server. Use the ServerConfig.newServerAdminSession() methods to create instances of this interface.
Method Summary | |
---|---|
void |
close()
Close a connection to a VHI server. |
void |
open()
Open a connection to a VHI server for the purpose of reading or updating model variable lists. |
void |
setConnection(IAADSConnection aadsConn)
Update our reference to an IAADSConnection instance. |
void |
setPassword(java.lang.String password)
Update the password used for authentication. |
void |
setServerName(java.lang.String name)
Set the VHI server name. |
void |
setUsername(java.lang.String username)
Update the username used for authentication. |
Method Detail |
---|
void setConnection(IAADSConnection aadsConn)
aadsConn
- Reference to an instance of an IAADSConnection
java.lang.IllegalArgumentException
- if argument is null.void setServerName(java.lang.String name)
name
- Name of VHI server.
java.lang.IllegalArgumentException
- if argument is null.void setUsername(java.lang.String username)
username
- Username for authenticationvoid setPassword(java.lang.String password)
password
- Password for authenticationvoid open() throws SCException
SCException
- if there is an error connecting
to the VHI Server.void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |