|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor
com.ibm.etools.iseries.core.dstore.miners.RSEUtilWrapper
This class provides a Java wrapper for the iSeries RSEUtil service program which contains native code for use by the RSE communications server.
Nested Class Summary |
---|
Nested classes inherited from class com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor |
---|
com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor.HostAPIErrorCodeStructure |
Field Summary | |
---|---|
static String |
copyright
|
static byte |
RC_CLIENTCONN_ERR
|
static byte |
RC_CLIENTCONN_FAILED
|
static byte |
RC_CLIENTCONN_INVALID_HOSTNAME
|
static byte |
RC_CLIENTCONN_OK
|
static byte |
RC_CLIENTCONN_TIMEOUT
|
Fields inherited from class com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor |
---|
cancel, cancellableSubTasks, cancelQuerier, Copyright, CREATE_FALSE, CREATE_TRUE, dbcsConvert, DEFAULT_OBJECT_FACTORY_BASIC, DEFAULT_OBJECT_FACTORY_BRIEF, DEFAULT_OBJECT_FACTORY_EXHAUSTIVE, DEFAULT_OBJECT_FACTORY_NAMEONLY, errorcodeObj, hostAPILibraries, INFOLEVEL_BASIC, INFOLEVEL_BRIEF, INFOLEVEL_EXHAUSTIVE, INFOLEVEL_NAME, INFOLEVEL_NAMEARRAY, INITIAL_SPACESIZE, LOG_DIR, LOG_FILENAME, logFile, logFileStream, logLineCounter, logStandardOut, NEED_USERSPACE_NO, NEED_USERSPACE_YES, objName, objType, QVDEOBJLinfo, returnObjectFactory, todos, tracePrefix, warnings |
Constructor Summary | |
---|---|
RSEUtilWrapper()
Constructor for RSEUtilWrapper. |
|
RSEUtilWrapper(com.ibm.as400.access.AS400 system)
Constructor for providing AS400 Toolbox object |
Method Summary | |
---|---|
int |
checkHostCallback(String clientHostname,
int port,
int timeout)
Test if a socket connection can be created from the iSeries back to the client |
String |
getCurrentDirectory()
Get the user's current working directory. |
int |
getDebugRouterPortNumber()
|
String |
getEnvironmentVariable(String variableName)
Retrieve the value for the environment variable. |
int |
getLastReturnCode()
Returns the last return code from an api call. |
int |
releaseThreadJob(String qualifiedJobName,
String messageQueue,
byte[] messageKey)
ReleaseThreadJob: Release the specified job |
int |
releaseThreadJob(String qualifiedJobName,
String messageQueue,
String messageKey)
Same as releaseThreadJob but takes a String message key for convience and converts it to a byte[] message key. |
ISeriesProgramInformation |
retrieveProgramInformation(String libraryName,
String programName,
boolean srvpgm,
boolean exportedProcs)
Retrieve the program information, including its modules and procedure entries for each module. |
ISeriesDebugHoldJobInfo |
spawnAndHoldThreadedApplication(String destinationName,
String programName,
String programParameters)
SpawnAndHoldThreadedApplication: Run the program in a new multi-threaded job which inherits the environment from the calling job. |
ISeriesDebugHoldJobInfo |
spawnThreadedApplication(String destinationName,
String programName,
String programParameters)
SpawnThreadedApplication: Run the program in a new multi-threaded job which inherits the environment from the calling job. |
Methods inherited from class com.ibm.etools.iseries.comm.ISeriesAbstractHostAPIProcessor |
---|
addCancellableSubTask, addWarning, cancel, clearWarnings, closeUserSpace, computeSize, createUserSpaceOnHost, determineInfoLevel, getClientCCSID, getDefaultObjectFactory, getErrorCodeStructure, getHostCCSID, getLibrary, getLogFileStream, getObjectFactory, getObjectName, getObjectType, getSystem, getUserSpace, getUserSpaceAPIName, getUserSpaceIFSName, getUserSpaceLibrary, getUserSpaceName, getWarnings, isCancelled, isTraceOn, logException, logHostMessages, logMessage, logMessage, logMessage, logTodo, openUserSpace, padString, parseBin8Date, parseChar13Date, parseChar7Date, parseChar8Date, readUserSpace, readUserSpace, registerCancelQuerier, removeCancellableSubTask, setClientCCSID, setHostCCSID, setLibrary, setLogFileDirectory, setObjectFactory, setObjectName, setObjectType, setSystem, setTracing, setUserSpaceLibrary, setUserSpaceName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
public static final byte RC_CLIENTCONN_OK
public static final byte RC_CLIENTCONN_FAILED
public static final byte RC_CLIENTCONN_TIMEOUT
public static final byte RC_CLIENTCONN_INVALID_HOSTNAME
public static final byte RC_CLIENTCONN_ERR
Constructor Detail |
public RSEUtilWrapper()
public RSEUtilWrapper(com.ibm.as400.access.AS400 system)
Method Detail |
public ISeriesDebugHoldJobInfo spawnAndHoldThreadedApplication(String destinationName, String programName, String programParameters) throws Exception
Exception
public int getDebugRouterPortNumber() throws Exception
Exception
public ISeriesDebugHoldJobInfo spawnThreadedApplication(String destinationName, String programName, String programParameters) throws Exception
Exception
public int releaseThreadJob(String qualifiedJobName, String messageQueue, byte[] messageKey) throws Exception
qualifiedJobName
- The qualified job name of the job to be releasedmessageQueue
- The message queue on which this job is waiting for a response to an *INQ messagemessageKey
- The message key of the *INQ message.
Exception
public int releaseThreadJob(String qualifiedJobName, String messageQueue, String messageKey) throws Exception
Exception
public int getLastReturnCode()
public String getEnvironmentVariable(String variableName) throws Exception
Exception
public String getCurrentDirectory() throws Exception
Exception
public ISeriesProgramInformation retrieveProgramInformation(String libraryName, String programName, boolean srvpgm, boolean exportedProcs) throws Exception
Exception
public int checkHostCallback(String clientHostname, int port, int timeout) throws Exception
port
- TCP/IP port to connect back totimeout
-
Exception
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |