public interface QuorumAuthLearner
| Modifier and Type | Method and Description | 
|---|---|
void | 
authenticate(Socket sock,
            String hostname)
Performs an authentication step for the given socket connection. 
 | 
void authenticate(Socket sock, String hostname) throws IOException
sock - socket connection to other quorum peer serverhostname - host name of other quorum peer serverIOException - if there is an authentication failureCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.