public class ResPQ extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
protected TLLongVector |
fingerprints |
protected byte[] |
nonce |
protected byte[] |
pq |
protected byte[] |
serverNonce |
| Constructor and Description |
|---|
ResPQ() |
ResPQ(byte[] nonce,
byte[] serverNonce,
byte[] pq,
TLLongVector fingerprints) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
TLLongVector |
getFingerprints() |
byte[] |
getNonce() |
byte[] |
getPq() |
byte[] |
getServerNonce() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setFingerprints(TLLongVector fingerprints) |
void |
setNonce(byte[] nonce) |
void |
setPq(byte[] pq) |
void |
setServerNonce(byte[] serverNonce) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
protected byte[] nonce
protected byte[] serverNonce
protected byte[] pq
protected TLLongVector fingerprints
public ResPQ(byte[] nonce,
byte[] serverNonce,
byte[] pq,
TLLongVector fingerprints)
public ResPQ()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic byte[] getNonce()
public void setNonce(byte[] nonce)
public byte[] getServerNonce()
public void setServerNonce(byte[] serverNonce)
public byte[] getPq()
public void setPq(byte[] pq)
public TLLongVector getFingerprints()
public void setFingerprints(TLLongVector fingerprints)
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.