Interface ServiceManager

    • Method Detail

      • setDatabase

        void setDatabase​(java.lang.String database)
        Sets the database path for the connection to the service manager.

        Will also set the expectedDb property. If a different value must be used, it must be set after calling this method.

        Parameters:
        database - path for the connection to the service manager.
      • getDatabase

        java.lang.String getDatabase()
        Returns the database path for the connection to the service manager.
        Returns:
        the database path for the connection to the service manager.
      • getHost

        @Deprecated
        java.lang.String getHost()
        Deprecated.
        Use AttachmentProperties.getServerName(); will be removed in Jaybird 6 or later
        Returns the host for the connection to the service manager.
        Returns:
        the host for the connection to the service manager.
      • getPort

        @Deprecated
        int getPort()
        Deprecated.
        Use AttachmentProperties.getPortNumber(); will be removed in Jaybird 6 or later
        Returns the port for the connection to the service manager.
        Returns:
        the port for the connection to the service manager.
      • setPort

        @Deprecated
        void setPort​(int port)
        Deprecated.
        Use AttachmentProperties.setPortNumber(int); will be removed in Jaybird 6 or later
        Sets the port for the connection to the service manager.
        Parameters:
        port - for the connection to the service manager.
      • getWireCryptAsEnum

        WireCrypt getWireCryptAsEnum()
        Get the wire encryption level.
        Returns:
        Wire encryption level
        Since:
        5
      • setWireCryptAsEnum

        void setWireCryptAsEnum​(WireCrypt wireCrypt)
        Set the wire encryption level.
        Parameters:
        wireCrypt - Wire encryption level (null not allowed)
        Since:
        5
      • getLogger

        java.io.OutputStream getLogger()
        Returns the logger for the connection to the service manager.
        Returns:
        the logger for the connection to the service manager.
      • setLogger

        void setLogger​(java.io.OutputStream logger)
        Sets the logger for the connection to the service manager.
        Parameters:
        logger - for the connection to the service manager.
      • getServerVersion

        GDSServerVersion getServerVersion()
                                   throws java.sql.SQLException
        Obtains the server version through a service call.
        Returns:
        Parsed server version, or GDSServerVersion.INVALID_VERSION if parsing failed.
        Throws:
        java.sql.SQLException - For errors connecting to the service manager.