Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.jni
Class ISeriesEditorDDSNativeInterface

java.lang.Object
  extended by com.ibm.etools.iseries.edit.jni.IBMiEditorNativeInterface
      extended by com.ibm.etools.iseries.edit.jni.ISeriesEditorDDSNativeInterface
All Implemented Interfaces:
IISeriesEditorNativeConstants

public class ISeriesEditorDDSNativeInterface
extends IBMiEditorNativeInterface
implements IISeriesEditorNativeConstants

This is the interface between the DDS Verifier and Code/400 DLLs. This class loads and talks to a rsentv.dll. The rsentv DLL is loaded, and the appropriate method is called. The rsentv DLL supports the loading of the DDS PV DLLs. Each public method in this class has a corresponding native method of the same name appended with the string 'Native'. All methods return one of the listed return codes.

See Also:
IISeriesEditorNativeConstants, ISeriesEditorRPGILENativeInterface, IBMiEditorCOBOLNativeInterface

Field Summary
static String copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.edit.IISeriesEditorNativeConstants
CODE400_ERROR_LOADING_CODE_INTERFACE_LIBRARY, CODE400_ERROR_LOADING_CODE_LIBRARY, CODE400_ERROR_LOADING_CODE_METHOD, CODE400_ERROR_LOADING_REGISTRY_KEY_ADTS_INSTALL, CODE400_ERROR_LOADING_REGISTRY_KEY_WDT_DIRECTORY, CODE400_OK, NATIVE_ERROR_LOADING_NATIVE_INTERFACE_LIBRARY, NATIVE_ERROR_LOADING_NATIVE_LIBRARY, NATIVE_ERROR_LOADING_NATIVE_METHOD, NATIVE_ERROR_NO_PATH_GIVEN, NATIVE_ERROR_RESOLVING_PLUGIN_PATH, NATIVE_OK
 
Constructor Summary
ISeriesEditorDDSNativeInterface()
           
 
Method Summary
static int getProgramVerifierStatusDDS()
          Returns the status of the program verifier Returns -2 if the install directory has not been passed in.
static int verifyProgramDDS(VerifierDDS verifier, int iDDSType, byte[] baHostAlias, byte[] baFullMemberName, byte[] baEventsFileName, boolean bDBCS, int iHostCommunicationsPort, byte[] baSpecialCharacters, int iPageHeight, int iPageWidth, int iPrtfDeviceType)
          Program verifies DDS
 
Methods inherited from class com.ibm.etools.iseries.edit.jni.IBMiEditorNativeInterface
convertUrlStringToOsPath, getDllsPath, getMessageFileName, getMessageFilePath, getQSYSSubSystemDllPath, issueMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

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

ISeriesEditorDDSNativeInterface

public ISeriesEditorDDSNativeInterface()
Method Detail

getProgramVerifierStatusDDS

public static int getProgramVerifierStatusDDS()
Returns the status of the program verifier Returns -2 if the install directory has not been passed in. Returns -3 if LoadLibrary failed. Returns -4 if the 'C' function cannot be found


verifyProgramDDS

public static int verifyProgramDDS(VerifierDDS verifier,
                                   int iDDSType,
                                   byte[] baHostAlias,
                                   byte[] baFullMemberName,
                                   byte[] baEventsFileName,
                                   boolean bDBCS,
                                   int iHostCommunicationsPort,
                                   byte[] baSpecialCharacters,
                                   int iPageHeight,
                                   int iPageWidth,
                                   int iPrtfDeviceType)
Program verifies DDS


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.