Interface RemoteClient

    • Method Detail

      • connectionRequest

        ConnectionRequest connectionRequest()
        Returns:
        the initial connection request this client is based on
      • databaseUser

        User databaseUser()
        Returns:
        the user used when connecting to the underlying database
      • getClientHost

        String getClientHost()
        Returns:
        the client hostname
      • setClientHost

        void setClientHost​(String clientHost)
        Parameters:
        clientHost - the client hostname
      • withDatabaseUser

        RemoteClient withDatabaseUser​(User databaseUser)
        Instantiates a new RemoteClient based on this instance but with the specified database user
        Parameters:
        databaseUser - the database user to use
        Returns:
        a new RemoteClient instance
      • remoteClient

        static RemoteClient remoteClient​(ConnectionRequest connectionRequest)
        Instantiates a new RemoteClient
        Parameters:
        connectionRequest - the connection request
        Returns:
        a new RemoteClient instance
      • remoteClient

        static RemoteClient remoteClient​(ConnectionRequest connectionRequest,
                                         User databaseUser)
        Instantiates a new RemoteClient
        Parameters:
        connectionRequest - the connection request
        databaseUser - the user to use when connecting to the underlying database
        Returns:
        a new RemoteClient instance