public class ServerDhFailure extends ServerDhParams
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
encryptedAnswer, newNonceHash, nonce, serverNonce| Constructor and Description |
|---|
ServerDhFailure() |
ServerDhFailure(byte[] nonce,
byte[] serverNonce,
byte[] newNonceHash) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
getEncryptedAnswer, getNewNonceHash, getNonce, getServerNonce, setEncryptedAnswer, setNewNonceHash, setNonce, setServerNoncedeserialize, serialize, serializepublic static final int CLASS_ID
public ServerDhFailure(byte[] nonce,
byte[] serverNonce,
byte[] newNonceHash)
public ServerDhFailure()
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 © 2017. All rights reserved.