Class TdApi.ProxySocks5

  • Enclosing class:
    TdApi

    public static class TdApi.ProxySocks5
    extends TdApi.Proxy
    A SOCKS5 proxy server.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String password
      Password for logging in.
      int port
      Proxy server port.
      java.lang.String server
      Proxy server IP address.
      java.lang.String username
      Username for logging in.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxySocks5()
      Default constructor.
      ProxySocks5​(java.lang.String server, int port, java.lang.String username, java.lang.String password)
      Constructor for initialization of all fields.
    • Field Detail

      • server

        public java.lang.String server
        Proxy server IP address.
      • port

        public int port
        Proxy server port.
      • username

        public java.lang.String username
        Username for logging in.
      • password

        public java.lang.String password
        Password for logging in.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProxySocks5

        public ProxySocks5()
        Default constructor.
      • ProxySocks5

        public ProxySocks5​(java.lang.String server,
                           int port,
                           java.lang.String username,
                           java.lang.String password)
        Constructor for initialization of all fields.
        Parameters:
        server - Proxy server IP address.
        port - Proxy server port.
        username - Username for logging in.
        password - Password for logging in.