public class TLEncryptedFile extends TLAbsEncryptedFile
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
id| Constructor and Description |
|---|
TLEncryptedFile()
Instantiates a new TL encrypted file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
long |
getAccess_hash()
Gets access _ hash.
|
long |
getAccessHash()
Gets access hash.
|
int |
getClassId()
Getting TL Class identification
|
int |
getDc_id()
Gets dc _ id.
|
int |
getDcId()
Gets dc id.
|
int |
getKey_fingerprint()
Gets key _ fingerprint.
|
int |
getKeyFingerprint()
Gets key fingerprint.
|
int |
getSize()
Gets size.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAccess_hash(long accessHash)
Sets access _ hash.
|
void |
setAccessHash(long accessHash)
Sets access hash.
|
void |
setDc_id(int dcId)
Sets dc _ id.
|
void |
setDcId(int dcId)
Sets dc id.
|
void |
setKey_fingerprint(int keyFingerprint)
Sets key _ fingerprint.
|
void |
setKeyFingerprint(int keyFingerprint)
Sets key fingerprint.
|
void |
setSize(int size)
Sets size.
|
String |
toString()
Custom toString method
|
getId, setIddeserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic long getAccessHash()
public void setAccessHash(long accessHash)
accessHash - the access hashpublic int getDcId()
public void setDcId(int dcId)
dcId - the dc idpublic int getKeyFingerprint()
public void setKeyFingerprint(int keyFingerprint)
keyFingerprint - the key fingerprintpublic long getAccess_hash()
public void setAccess_hash(long accessHash)
accessHash - the access hashpublic int getSize()
public void setSize(int size)
size - the sizepublic int getDc_id()
public void setDc_id(int dcId)
dcId - the dc idpublic int getKey_fingerprint()
public void setKey_fingerprint(int keyFingerprint)
keyFingerprint - the key fingerprintpublic 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.