Interface Socks5.Authentication

Enclosing class:
Socks5

public static interface Socks5.Authentication

A SOCKS5 authentication method.

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

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A factory for Socks5.Authentications.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    authenticate(org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.util.Callback callback)
    Performs the authentication send and receive bytes exchanges specific for this Socks5.Authentication.
  • Method Details

    • authenticate

      void authenticate(org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.util.Callback callback)

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

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