Interface ConnectionService

  • All Superinterfaces:
    ConnectionSession

    public interface ConnectionService
    extends ConnectionSession
    The ConnectionService provides User programs with access to configured and operational ASP services such as the optimizer service. User programs can only access the ASP Service APIs from this interfaces. This component wraps the complexity of the underlying service provider objects that perform service instantiation and configuration. It also handles license management, remote connections, and inter service integrations, should they be required.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Should be called when the Connection is no longer needed.
      void open()
      Open the connection service for use.
      ConnectionSession open​(ConnectionCredential cred)
      Open a child session with credentials information.
      void open​(ConnectionListener listener)
      Used in server processes that embed the connection service.This method opens the connection service for use and registers for a callback for when the connection is closed by an internal component.