Package it.tdlight.jni
Class TdApi.InternalLinkTypeProxy
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InternalLinkType
it.tdlight.jni.TdApi.InternalLinkTypeProxy
- Enclosing class:
- TdApi
public static class TdApi.InternalLinkTypeProxy extends TdApi.InternalLinkType
The link is a link to a proxy. Call
addProxy with the given parameters to
process the link and add the proxy.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
port
Proxy server port.String
server
Proxy server IP address.TdApi.ProxyType
type
Type of the proxy. -
Constructor Summary
Constructors Constructor Description InternalLinkTypeProxy()
The link is a link to a proxy.InternalLinkTypeProxy(DataInput input)
InternalLinkTypeProxy(String server, int port, TdApi.ProxyType type)
The link is a link to a proxy. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
server
Proxy server IP address. -
port
public int portProxy server port. -
type
Type of the proxy. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InternalLinkTypeProxy
public InternalLinkTypeProxy()The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy. -
InternalLinkTypeProxy
The link is a link to a proxy. Call addProxy with the given parameters to process the link and add the proxy.- Parameters:
server
- String Proxy server IP address.port
- int Proxy server port.type
- ProxyType Type of the proxy.
-
InternalLinkTypeProxy
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-