*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface SASClientConnectionInterface

All Superinterfaces:
ConnectionInterface, MetadataInterface, PublicObjectInterface, Remote

@SASScope("ALL") @BinaryCompatibilityOnly public interface SASClientConnectionInterface extends ConnectionInterface
  • Method Details

    • getServerShortName

      String getServerShortName() throws ServiceException, RemoteException
      Get the short name of the server.
      Returns:
      The server short name.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setServerShortName

      void setServerShortName(String serverName) throws ServiceException, RemoteException
      Set the server's short name.
      Parameters:
      serverName - The server's short name.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getRemoteAddress

      String getRemoteAddress() throws ServiceException, RemoteException
      Get the remote address of the connection.
      Returns:
      The connection remote address.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setRemoteAddress

      void setRemoteAddress(String remoteAddress) throws ServiceException, RemoteException
      Set the remote address of the connection.
      Parameters:
      remoteAddress - The connection remote address.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getService

      String getService() throws ServiceException, RemoteException
      Get the service string for the connection.
      Returns:
      The connection service string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setService

      void setService(String service) throws ServiceException, RemoteException
      Set the service string for the connection.
      Parameters:
      service - The connection's serice string.
      Throws:
      ServiceException
      RemoteException
    • getPort

      int getPort() throws ServiceException, RemoteException
      Get the port number for the connection.
      Returns:
      The connection's port number.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setPort

      void setPort(int port) throws ServiceException, RemoteException
      Set the port number for the connection.
      Parameters:
      port - The connection's port number.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getLibraries

      List getLibraries() throws ServiceException, RemoteException
      Get the list of libraries accessible via this connection.
      Returns:
      A List of SASLibraryInterface objects accessible via this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • addLibrary

      void addLibrary(SASLibraryInterface library) throws ServiceException, RemoteException
      Add a library to the list that are accessible through this connection.
      Parameters:
      library - The SASLibraryInterface to add to the libraries list.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • removeLibrary

      void removeLibrary(SASLibraryInterface library) throws ServiceException, RemoteException
      Remove a library from the list that are accessible through this connection.
      Parameters:
      library - The SASLibraryInterface object to remove from the libraries list.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setLibraries

      void setLibraries(List libraries) throws ServiceException, RemoteException
      Set the list of libraries that are accessible via this connection.
      Parameters:
      libraries - The List of SASLibraryInterface objects accessible via this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getScriptFiles

      List getScriptFiles() throws ServiceException, RemoteException
      Get the List of script files that execute for this connection.
      Returns:
      A List of FileInterface object that are scripts for this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • addScriptFile

      void addScriptFile(FileInterface file) throws ServiceException, RemoteException
      Add a script file to this connection.
      Parameters:
      file - A FileInterface object to add to the list of scripts.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • removeScriptFile

      void removeScriptFile(FileInterface file) throws ServiceException, RemoteException
      Remove a script file from this connection.
      Parameters:
      file - A FileInterface object to remove from this script list.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setScriptFiles

      void setScriptFiles(List files) throws ServiceException, RemoteException
      Set the list of script files on this connection.
      Parameters:
      files - A List of FileInterface objects acting as scripts for this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.