public class TLDcInfo extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLDcInfo() |
TLDcInfo(int flags,
int dcId,
String address,
int port,
int version) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
String |
getAddress() |
int |
getClassId()
Getting TL Class identification
|
int |
getDcId() |
int |
getFlags() |
int |
getPort() |
int |
getVersion() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLDcInfo(int flags,
int dcId,
String address,
int port,
int version)
public TLDcInfo()
public int getFlags()
public int getDcId()
public String getAddress()
public int getPort()
public int getVersion()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic void serializeBody(OutputStream stream) throws IOException
TLObjectserializeBody in class TLObjectstream - destination streamIOExceptionpublic void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObjectdeserializeBody in class TLObjectstream - source streamcontext - tl contextIOExceptionCopyright © 2016. All rights reserved.