Package org.cybergarage.upnp.ssdp
Class SSDPSearchSocketList
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SSDPSearchSocket>,Collection<SSDPSearchSocket>,List<SSDPSearchSocket>,RandomAccess,SequencedCollection<SSDPSearchSocket>
- See Also:
-
Field Summary
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionSSDPSearchSocketList(InetAddress[] binds) SSDPSearchSocketList(InetAddress[] binds, int port, String multicastIPv4, String multicastIPv6) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSearchListener(SearchListener listener) voidclose()getSSDPSearchSocket(int n) booleanopen()voidstart()voidstop()Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Constructor Details
-
SSDPSearchSocketList
public SSDPSearchSocketList() -
SSDPSearchSocketList
- Parameters:
binds- The IP address that we will used for bindind the service
-
SSDPSearchSocketList
public SSDPSearchSocketList(InetAddress[] binds, int port, String multicastIPv4, String multicastIPv6) - Parameters:
binds- The IP address that we will used for bindind the serviceport- The port that we will used for bindind the servicemulticastIPv4- The IPv4 address that we will used for multicast comunicationmulticastIPv6- The IPv6 address that we will used for multicast comunication- Since:
- 1.8
-
-
Method Details
-
getSSDPSearchSocket
-
addSearchListener
-
open
public boolean open() -
close
public void close() -
start
public void start() -
stop
public void stop()
-