java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.CallServerType
it.tdlight.jni.TdApi.CallServerTypeTelegramReflector
- Enclosing class:
- TdApi
A Telegram call reflector.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the server uses TCP instead of UDP.byte[]
A peer tag to be used with the reflector. -
Constructor Summary
ConstructorDescriptionA Telegram call reflector.CallServerTypeTelegramReflector
(byte[] peerTag, boolean isTcp) A Telegram call reflector.A Telegram call reflector. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
peerTag
public byte[] peerTagA peer tag to be used with the reflector. -
isTcp
public boolean isTcpTrue, if the server uses TCP instead of UDP. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CallServerTypeTelegramReflector
public CallServerTypeTelegramReflector()A Telegram call reflector. -
CallServerTypeTelegramReflector
public CallServerTypeTelegramReflector(byte[] peerTag, boolean isTcp) A Telegram call reflector.- Parameters:
peerTag
- byte[] A peer tag to be used with the reflector.isTcp
- boolean True, if the server uses TCP instead of UDP.
-
CallServerTypeTelegramReflector
A Telegram call reflector.- 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()
-