public class ServerDhInner extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
protected byte[] |
dhPrime |
protected int |
g |
protected byte[] |
g_a |
protected byte[] |
nonce |
protected byte[] |
serverNonce |
protected int |
serverTime |
| Constructor and Description |
|---|
ServerDhInner() |
ServerDhInner(byte[] nonce,
byte[] serverNonce,
int g,
byte[] dhPrime,
byte[] g_a,
int serverTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
byte[] |
getDhPrime() |
byte[] |
getG_a() |
int |
getG() |
byte[] |
getNonce() |
byte[] |
getServerNonce() |
int |
getServerTime() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
protected byte[] nonce
protected byte[] serverNonce
protected int g
protected byte[] dhPrime
protected byte[] g_a
protected int serverTime
public ServerDhInner(byte[] nonce,
byte[] serverNonce,
int g,
byte[] dhPrime,
byte[] g_a,
int serverTime)
public ServerDhInner()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic byte[] getNonce()
public byte[] getServerNonce()
public int getG()
public byte[] getDhPrime()
public byte[] getG_a()
public int getServerTime()
public 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 © 2017. All rights reserved.