Interface Socks5.Authentication

Enclosing class:

public static interface Socks5.Authentication

A SOCKS5 authentication method.

Implementations should send and receive the bytes that are specific to the particular authentication method.

  • Method Details

    • authenticate

      void authenticate(EndPoint endPoint, Callback callback)

      Performs the authentication send and receive bytes exchanges specific for this Socks5.Authentication.

      endPoint - the EndPoint to send to and receive from the SOCKS5 server
      callback - the callback to complete when the authentication is complete