Package it.tdlight.jni
Class TdApi.CallServer
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.CallServer
- Enclosing class:
- TdApi
public static class TdApi.CallServer extends TdApi.Object
Describes a server for relaying call data.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
id
Server identifier.String
ipAddress
Server IPv4 address.String
ipv6Address
Server IPv6 address.int
port
Server port number.TdApi.CallServerType
type
Server type. -
Constructor Summary
Constructors Constructor Description CallServer()
Describes a server for relaying call data.CallServer(long id, String ipAddress, String ipv6Address, int port, TdApi.CallServerType type)
Describes a server for relaying call data.CallServer(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idServer identifier. -
ipAddress
Server IPv4 address. -
ipv6Address
Server IPv6 address. -
port
public int portServer port number. -
type
Server type. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
CallServer
public CallServer()Describes a server for relaying call data. -
CallServer
public CallServer(long id, String ipAddress, String ipv6Address, int port, TdApi.CallServerType type)Describes a server for relaying call data.- Parameters:
id
- long Server identifier.ipAddress
- String Server IPv4 address.ipv6Address
- String Server IPv6 address.port
- int Server port number.type
- CallServerType Server type.
-
CallServer
- 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()
-