Class ZrtpPacketPingAck


  • public class ZrtpPacketPingAck
    extends ZrtpPacketBase
    Author:
    Werner Dittmann <Werner.Dittmann@t-online.de>
    • Constructor Detail

      • ZrtpPacketPingAck

        public ZrtpPacketPingAck()
        Constructor for a new PingAck message.
      • ZrtpPacketPingAck

        public ZrtpPacketPingAck​(byte[] data)
        Constructor for PingAck message initialized with received data.
        Parameters:
        data - received from the network.
    • 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.