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