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

Interface ConnectionInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote
All Known Subinterfaces:
COMConnectionInterface, ProxyInterface, SASClientConnectionInterface, TCPIPConnectionInterface
All Known Implementing Classes:
com.sas.services.information.metadata.OMRConnection, OMRProxy, com.sas.services.information.metadata.OMRTCPIPConnection

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

    • getAuthenticationType

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

      void setAuthenticationType(String authType) throws ServiceException, RemoteException
      Set the authentication type string.
      Parameters:
      authType - The authentication type string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getCommunicationProtocol

      String getCommunicationProtocol() throws ServiceException, RemoteException
      Get the communication protocol.
      Returns:
      The communication protocol.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setCommunicationProtocol

      void setCommunicationProtocol(String commProtocol) throws ServiceException, RemoteException
      Set the communication protocol.
      Parameters:
      commProtocol - The communication protocol string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getProperties

      List<MetadataInterface> getProperties() throws ServiceException, RemoteException
      Get the properties for connection.
      Returns:
      The list of properties.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getApplicationProtocol

      String getApplicationProtocol() throws ServiceException, RemoteException
      Get the application protocol String.
      Returns:
      The application protocol string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setApplicationProtocol

      void setApplicationProtocol(String appProtocol) throws ServiceException, RemoteException
      Set the application protocol string.
      Parameters:
      appProtocol - The application protocol string.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getDomain

      String getDomain() throws ServiceException, RemoteException
      Get the authentication domain for this connection.
      Returns:
      The authentication domain name for this connection.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • setDomain

      void setDomain(String domain) throws ServiceException, RemoteException
      Set the authentication domain name for this connection.
      Parameters:
      domain - The new domain name.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getSource

      ServerInterface getSource() throws ServiceException, RemoteException
      Get the server to which a client connects using this connection information.
      Returns:
      The server which is listening on this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setSource

      void setSource(ServerInterface server) throws ServiceException, RemoteException
      Set the server which is listening on this connection.
      Parameters:
      server - The server a client connects to on this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • getProviders

      List getProviders() throws ServiceException, RemoteException
      Get the list of servers that can connect to the listener over this connection.
      Returns:
      The list of provider servers that can connect to the source server over this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • addProvider

      void addProvider(ServerInterface provider) throws ServiceException, RemoteException
      Add a provider server which can connect to the listening source server over this connection.
      Parameters:
      provider - A Server which can connect to the source over this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • removeProvider

      void removeProvider(ServerInterface provider) throws ServiceException, RemoteException
      Remove a provider server from the providers list.
      Parameters:
      provider - A server to remove from the providers list.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setProviders

      void setProviders(List providers) throws ServiceException, RemoteException
      Set the list of provider servers that can connect to the source server over this connection.
      Parameters:
      providers - A List of ServerInterface objects that can connect to the source server over this connection.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.
    • setProperty

      void setProperty(ConnectionInterface objCon, String value, String PropName) throws RemoteException, com.sas.metadata.remote.MdException
      Set the value to the property of connection.
      Parameters:
      objCon - Connection object, It can be SASClientConnection or TCPIPConnection.
      value - to be assigned to property.
      PropName - Name of property for which value will be changed.
      Throws:
      RemoteException - In the event of remote object failure.
      com.sas.metadata.remote.MdException - If a metadata error occurs.