S-PLUS Connect/Java v1.0

com.insightful.splus
Class SplusLogin

java.lang.Object
  extended by com.insightful.splus.SplusLogin

public class SplusLogin
extends Object


Nested Class Summary
protected  class SplusLogin.LookupThread
          The inner class LookupThread represents a separate thread to call Naming.lookup the first time it needs to be called (namely to find the SplusSessionFactory).
 class SplusLogin.SplusLoginException
           
 class SplusLogin.SplusLoginFatalException
          More severe exception class thrown by newSession.
 
Field Summary
static String HELP_HOST_PROPERTY
           
protected  Object m_lock
           
protected  Runnable m_runUpdateGui
           
protected  String m_strProgress
           
 
Constructor Summary
SplusLogin()
           
 
Method Summary
static String getHelpHost()
           
 String getProgressText()
           
 SplusSession newSession(SessionProfile profile, String strPassword, String[] vstrFactoryArgs)
           
 SplusSession newSession(String strHost, String strUsername, String strPassword)
           
 SplusSession newSession(String strHost, String strUsername, String strPassword, int nRMIPort, String strWorkingDirectory, String strXDisplay, String strPrompt, String strScript, String[] vstrFactoryArgs)
          Start a new remote session.
static String setHelpHost(String strHelpHost)
           
protected  void setProgressText(String strText)
           
 void setProgressUpdateCode(Runnable runUpdateGui)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_runUpdateGui

protected Runnable m_runUpdateGui

m_strProgress

protected String m_strProgress

m_lock

protected Object m_lock

HELP_HOST_PROPERTY

public static final String HELP_HOST_PROPERTY
See Also:
Constant Field Values
Constructor Detail

SplusLogin

public SplusLogin()
Method Detail

newSession

public SplusSession newSession(SessionProfile profile,
                               String strPassword,
                               String[] vstrFactoryArgs)
                        throws SplusLogin.SplusLoginException,
                               SplusLogin.SplusLoginFatalException
Throws:
SplusLogin.SplusLoginException
SplusLogin.SplusLoginFatalException

newSession

public SplusSession newSession(String strHost,
                               String strUsername,
                               String strPassword)
                        throws SplusLogin.SplusLoginException,
                               SplusLogin.SplusLoginFatalException
Throws:
SplusLogin.SplusLoginException
SplusLogin.SplusLoginFatalException

newSession

public SplusSession newSession(String strHost,
                               String strUsername,
                               String strPassword,
                               int nRMIPort,
                               String strWorkingDirectory,
                               String strXDisplay,
                               String strPrompt,
                               String strScript,
                               String[] vstrFactoryArgs)
                        throws SplusLogin.SplusLoginException,
                               SplusLogin.SplusLoginFatalException
Start a new remote session. Unlike the original version, this version does not * set the help host, which is a global property (not specific to a single session); * set help off, which is specific to the standard GUI; or * create or register a ClientObjectFactory. These tasks must be done elsewhere.

Throws:
SplusLogin.SplusLoginException
SplusLogin.SplusLoginFatalException

setProgressUpdateCode

public void setProgressUpdateCode(Runnable runUpdateGui)

getProgressText

public String getProgressText()

setProgressText

protected void setProgressText(String strText)

setHelpHost

public static String setHelpHost(String strHelpHost)

getHelpHost

public static String getHelpHost()

S-PLUS Connect/Java v1.0

Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.