public class ReqPQ extends TLMethod<ResPQ>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
protected byte[] |
nonce |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
ResPQ |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
byte[] |
getNonce() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setNonce(byte[] nonce) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
protected byte[] nonce
public ResPQ deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<ResPQ>IOExceptionpublic byte[] getNonce()
public void setNonce(byte[] nonce)
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.