java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Proxy
- Enclosing class:
- TdApi
Contains information about a proxy server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intintUnique identifier of the proxy.booleanTrue, if the proxy is enabled now.intPoint in time (Unix timestamp) when the proxy was last used; 0 if never.intProxy server port.Proxy server IP address.Type of the proxy. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public int idUnique identifier of the proxy. -
server
Proxy server IP address. -
port
public int portProxy server port. -
lastUsedDate
public int lastUsedDatePoint in time (Unix timestamp) when the proxy was last used; 0 if never. -
isEnabled
public boolean isEnabledTrue, if the proxy is enabled now. -
type
Type of the proxy. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
Proxy
public Proxy()Contains information about a proxy server. -
Proxy
public Proxy(int id, String server, int port, int lastUsedDate, boolean isEnabled, TdApi.ProxyType type) Contains information about a proxy server.- Parameters:
id- int Unique identifier of the proxy.server- String Proxy server IP address.port- int Proxy server port.lastUsedDate- int Point in time (Unix timestamp) when the proxy was last used; 0 if never.isEnabled- boolean True, if the proxy is enabled now.type- ProxyType Type of the proxy.
-
Proxy
Contains information about a proxy server.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-