Package gnu.java.zrtp.packets
Class ZrtpPacketPingAck
- java.lang.Object
-
- gnu.java.zrtp.packets.ZrtpPacketBase
-
- gnu.java.zrtp.packets.ZrtpPacketPingAck
-
public class ZrtpPacketPingAck extends ZrtpPacketBase
- Author:
- Werner Dittmann <Werner.Dittmann@t-online.de>
-
-
Field Summary
-
Fields inherited from class gnu.java.zrtp.packets.ZrtpPacketBase
CLIENT_ID_SIZE, CRC_SIZE, HASH_IMAGE_SIZE, HMAC_SIZE, HVI_SIZE, packetBuffer, ZID_SIZE, ZRTP_HEADER_LENGTH, ZRTP_WORD_SIZE
-
-
Constructor Summary
Constructors Constructor Description ZrtpPacketPingAck()Constructor for a new PingAck message.ZrtpPacketPingAck(byte[] data)Constructor for PingAck message initialized with received data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getLocalEpHash()Get the local endpoint hash from Ping packet.byte[]getRemoteEpHash()Get the remote endpoint hash from Ping packet.voidsetLocalEpHash(byte[] data)Set the local endpoint hash.voidsetPeerSSRC(int data)Set the peer's ssrc.voidsetRemoteEpHash(byte[] data)Set the remote endpoint hash.-
Methods inherited from class gnu.java.zrtp.packets.ZrtpPacketBase
getHeaderBase, getLength, getMessageType, isZrtpPacket, setLength, setMessageType, setZrtpId
-
-
-
-
Method Detail
-
getRemoteEpHash
public final byte[] getRemoteEpHash()
Get the remote endpoint hash from Ping packet.- Returns:
- the endpoint hash.
-
setRemoteEpHash
public final void setRemoteEpHash(byte[] data)
Set the remote endpoint hash.
-
getLocalEpHash
public final byte[] getLocalEpHash()
Get the local endpoint hash from Ping packet.- Returns:
- the endpoint hash.
-
setLocalEpHash
public final void setLocalEpHash(byte[] data)
Set the local endpoint hash.
-
setPeerSSRC
public final void setPeerSSRC(int data)
Set the peer's ssrc.
-
-