Class ResponseCache


  • public class ResponseCache
    extends java.lang.Object
    ResponseCache intends to eliminate the processing of SLP responses with the same content.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResponseCache()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.net.DatagramPacket pPacket)
      add
      boolean contains​(java.net.DatagramPacket pPacket)
      contains
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseCache

        public ResponseCache()
    • Method Detail

      • add

        public void add​(java.net.DatagramPacket pPacket)
        add
        Parameters:
        pPacket -
      • contains

        public boolean contains​(java.net.DatagramPacket pPacket)
        contains
        Parameters:
        pPacket -
        Returns:
        boolean