Interface SocksMessage

All Superinterfaces:
DecoderResultProvider
All Known Subinterfaces:
Socks4CommandRequest, Socks4CommandResponse, Socks4Message, Socks5CommandRequest, Socks5CommandResponse, Socks5InitialRequest, Socks5InitialResponse, Socks5Message, Socks5PasswordAuthRequest, Socks5PasswordAuthResponse
All Known Implementing Classes:
AbstractSocks4Message, AbstractSocks5Message, AbstractSocksMessage, DefaultSocks4CommandRequest, DefaultSocks4CommandResponse, DefaultSocks5CommandRequest, DefaultSocks5CommandResponse, DefaultSocks5InitialRequest, DefaultSocks5InitialResponse, DefaultSocks5PasswordAuthRequest, DefaultSocks5PasswordAuthResponse

public interface SocksMessage extends DecoderResultProvider
An interface that all SOCKS protocol messages implement.
  • Method Details

    • version

      SocksVersion version()
      Returns the protocol version of this message.