AR System Java API

com.bmc.arsys.api
Class Session

java.lang.Object
  extended by com.bmc.arsys.api.Session

public class Session
extends Object

Reserved for internal use.


Constructor Summary
Session()
           
 
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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session

public Session()
Method Detail

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

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.