Class SapClientConnectionDirectImpl


  • public final class SapClientConnectionDirectImpl
    extends java.lang.Object
    • Field Detail

      • destinationName

        public java.lang.String destinationName
    • Method Detail

      • getDestinationName

        public java.lang.String getDestinationName()
      • createDestinationDataFile

        public void createDestinationDataFile​(java.util.Properties connectionProperties)
      • encrypt

        public static java.lang.String encrypt​(java.lang.String text)
                                        throws java.security.GeneralSecurityException,
                                               java.io.IOException
        Throws:
        java.security.GeneralSecurityException
        java.io.IOException
      • decrypt

        public static java.lang.String decrypt​(java.lang.String data)
                                        throws java.security.GeneralSecurityException,
                                               java.io.IOException
        Throws:
        java.security.GeneralSecurityException
        java.io.IOException
      • getRfcRepository

        public com.sap.conn.jco.JCoRepository getRfcRepository()
                                                        throws com.sap.conn.jco.JCoException
        Throws:
        com.sap.conn.jco.JCoException
      • getJcoProperties

        public java.util.Properties getJcoProperties()
        Retun the local copy of the JCO properties we are to use.
        Returns:
        Properties
      • maxRetries

        public int maxRetries()
        Get the number of retries to be attempted.
        Returns:
        int the maximum number of retries to restablish a connection
      • generateDestinationName

        public static java.lang.String generateDestinationName​(java.util.Properties props)
                                                        throws java.io.IOException
        Generates the temp name used for the destination file.
        Returns:
        String with name of file
        Throws:
        java.io.IOException
      • terminate

        public void terminate()
      • unregister

        public void unregister()