public class ZrtpPacketPingAck 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 |
|---|
ZrtpPacketPingAck()
Constructor for a new PingAck message.
|
ZrtpPacketPingAck(byte[] data)
Constructor for PingAck message initialized with received data.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getLocalEpHash()
Get the local endpoint hash from Ping packet.
|
byte[] |
getRemoteEpHash()
Get the remote endpoint hash from Ping packet.
|
void |
setLocalEpHash(byte[] data)
Set the local endpoint hash.
|
void |
setPeerSSRC(int data)
Set the peer's ssrc.
|
void |
setRemoteEpHash(byte[] data)
Set the remote endpoint hash.
|
getHeaderBase, getLength, getMessageType, isZrtpPacket, setLength, setMessageType, setZrtpIdpublic ZrtpPacketPingAck()
public ZrtpPacketPingAck(byte[] data)
data - received from the network.public final byte[] getRemoteEpHash()
public final void setRemoteEpHash(byte[] data)
public final byte[] getLocalEpHash()
public final void setLocalEpHash(byte[] data)
public final void setPeerSSRC(int data)
Copyright © 2020. All rights reserved.