18 #ifndef SOCKET_AUTHENTICATOR_HPP
19 #define SOCKET_AUTHENTICATOR_HPP
26 virtual bool client_authenticate(NDB_SOCKET_TYPE sockfd) = 0;
27 virtual bool server_authenticate(NDB_SOCKET_TYPE sockfd) = 0;
33 const char *m_username;
37 virtual bool client_authenticate(NDB_SOCKET_TYPE sockfd);
38 virtual bool server_authenticate(NDB_SOCKET_TYPE sockfd);
41 #endif // SOCKET_AUTHENTICATOR_HPP