Interface QuorumAuthLearner

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void authenticate​(java.net.Socket sock, java.lang.String hostname)
      Performs an authentication step for the given socket connection.
    • Method Detail

      • authenticate

        void authenticate​(java.net.Socket sock,
                          java.lang.String hostname)
                   throws java.io.IOException
        Performs an authentication step for the given socket connection.
        Parameters:
        sock - socket connection to other quorum peer server
        hostname - host name of other quorum peer server
        Throws:
        java.io.IOException - if there is an authentication failure