public class ZrtpPacketError extends ZrtpPacketBase
CLIENT_ID_SIZE, CRC_SIZE, HASH_IMAGE_SIZE, HMAC_SIZE, HVI_SIZE, packetBuffer, ZID_SIZE, ZRTP_HEADER_LENGTH, ZRTP_WORD_SIZE| Constructor and Description |
|---|
ZrtpPacketError()
Constructor for a new Error message.
|
ZrtpPacketError(byte[] data)
Constructor for Error message initialized with received data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Get the error code from the Error packet.
|
void |
setErrorCode(int code)
Set the error code in the Error packet.
|
getHeaderBase, getLength, getMessageType, isZrtpPacket, setLength, setMessageType, setZrtpIdpublic ZrtpPacketError()
public ZrtpPacketError(byte[] data)
data - received from the network.public final int getErrorCode()
public final void setErrorCode(int code)
code - the error code.Copyright © 2020. All rights reserved.