public class SSDPDiscoveryCache extends ConcurrentSkipListMap<URI,SSDPDiscoveryCache.Value> implements SSDPDiscoveryThread.Listener
Modifier and Type | Class and Description |
---|---|
class |
SSDPDiscoveryCache.Value
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SSDPDiscoveryCache()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
receiveEvent(SSDPDiscoveryThread thread,
SSDPMessage message)
Callback made after receiving a
SSDPMessage . |
void |
sendEvent(SSDPDiscoveryThread thread,
SSDPMessage message)
Callback made just before sending a
SSDPMessage . |
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, equals, firstEntry, firstKey, floorEntry, floorKey, forEach, get, getOrDefault, headMap, headMap, higherEntry, higherKey, isEmpty, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
hashCode, putAll, toString
public SSDPDiscoveryCache()
public void sendEvent(SSDPDiscoveryThread thread, SSDPMessage message)
SSDPDiscoveryThread.Listener
SSDPMessage
.sendEvent
in interface SSDPDiscoveryThread.Listener
thread
- The SSDPDiscoveryThread
.message
- The SSDPMessage
.public void receiveEvent(SSDPDiscoveryThread thread, SSDPMessage message)
SSDPDiscoveryThread.Listener
SSDPMessage
.receiveEvent
in interface SSDPDiscoveryThread.Listener
thread
- The SSDPDiscoveryThread
.message
- The SSDPMessage
.Copyright © 2015–2020 Allen D. Ball. All rights reserved.