S-PLUS Connect/Java v1.0

com.insightful.splus
Class SplusWinApp

java.lang.Object
  extended bycom.insightful.splus.SplusWinApp
All Implemented Interfaces:
SplusEngineQueryHandler, SplusHelpQueryHandler

public class SplusWinApp
extends Object
implements SplusEngineQueryHandler, SplusHelpQueryHandler

Experimental support for starting Java within S-PLUS for Windows. This serves the same role as SplusUserApp.

The fields and methods for this class are static. This supports a single connection to the S-PLUS engine within a single JVM process.


Method Summary
 void displayHelpOnTopic(String topicId)
          Display help for a specified topic.
 void displayHelpView(String viewId)
          Display a particular help index view.
 com.insightful.splus.SplusHelpManagerInstance getHelpManagerInstance()
          Get the help manager instance.
 SplusDataResult processDataQuery(String cmd)
           
 SplusDataResult processDataQuery(String cmd, int timeout)
           
 void processDialogCommand(String cmd)
           
static void start()
          Call this to create the SplusWinApp.
 void writeEngineOutput(String data, boolean prompted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public static void start()
                  throws RemoteException,
                         SplusLicenseException
Call this to create the SplusWinApp.

Throws:
RemoteException
SplusLicenseException

processDataQuery

public SplusDataResult processDataQuery(String cmd)
Specified by:
processDataQuery in interface SplusEngineQueryHandler

processDataQuery

public SplusDataResult processDataQuery(String cmd,
                                        int timeout)
Specified by:
processDataQuery in interface SplusEngineQueryHandler

processDialogCommand

public void processDialogCommand(String cmd)
Specified by:
processDialogCommand in interface SplusEngineQueryHandler

writeEngineOutput

public void writeEngineOutput(String data,
                              boolean prompted)
Specified by:
writeEngineOutput in interface SplusEngineQueryHandler

displayHelpOnTopic

public void displayHelpOnTopic(String topicId)
Display help for a specified topic.

Specified by:
displayHelpOnTopic in interface SplusHelpQueryHandler

displayHelpView

public void displayHelpView(String viewId)
Display a particular help index view. This can be "TOC", "Index", or "Search".

Specified by:
displayHelpView in interface SplusHelpQueryHandler

getHelpManagerInstance

public com.insightful.splus.SplusHelpManagerInstance getHelpManagerInstance()
Get the help manager instance. Return null if the queries are being handled without using an SplusHelpManagerInstance.

Specified by:
getHelpManagerInstance in interface SplusHelpQueryHandler

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.