com.bmc.arsys.api
Class Session
java.lang.Object
com.bmc.arsys.api.Session
public class Session
- extends Object
Reserved for internal use.
Method Summary |
ARServerUser |
connectToServer(String serverName,
int tcpPort,
String authString,
String user,
String password,
boolean ensureAdmin,
boolean lockToadminQueue)
|
int |
count()
|
void |
disconnectFromServer(String serverName,
int tcpPort)
|
static Session |
getDefaultSession()
|
ARServerUser |
getServer(String serverName)
|
ARServerUser |
getServer(String serverName,
int tcpPort)
|
ARServerUser |
getServer(String serverName,
int tcpPort,
String authString)
|
ARServerUser |
getServer(String serverName,
int tcpPort,
String authString,
boolean ensureAdmin,
boolean lockToadminQueue)
|
ARServerUser |
getServer(String serverName,
int tcpPort,
String authString,
String user,
String password,
boolean ensureAdmin,
boolean lockToadminQueue)
|
Hashtable |
getServers()
|
Session
public Session()
getDefaultSession
public static Session getDefaultSession()
connectToServer
public ARServerUser connectToServer(String serverName,
int tcpPort,
String authString,
String user,
String password,
boolean ensureAdmin,
boolean lockToadminQueue)
throws ARException
- Throws:
ARException
disconnectFromServer
public void disconnectFromServer(String serverName,
int tcpPort)
count
public int count()
getServers
public Hashtable getServers()
getServer
public ARServerUser getServer(String serverName,
int tcpPort,
String authString,
String user,
String password,
boolean ensureAdmin,
boolean lockToadminQueue)
throws ARException
- Throws:
ARException
getServer
public ARServerUser getServer(String serverName,
int tcpPort,
String authString,
boolean ensureAdmin,
boolean lockToadminQueue)
throws ARException
- Throws:
ARException
getServer
public ARServerUser getServer(String serverName,
int tcpPort,
String authString)
throws ARException
- Throws:
ARException
getServer
public ARServerUser getServer(String serverName,
int tcpPort)
throws ARException
- Throws:
ARException
getServer
public ARServerUser getServer(String serverName)
throws ARException
- Throws:
ARException
© Copyright 2006, 2007 BMC Software, Inc.