Serializable
, Cloneable
, Iterable<SSDPSearchSocket>
, Collection<SSDPSearchSocket>
, List<SSDPSearchSocket>
, RandomAccess
public class SSDPSearchSocketList extends Vector<SSDPSearchSocket>
modCount
capacityIncrement, elementCount, elementData
Constructor | Description |
---|---|
SSDPSearchSocketList() |
|
SSDPSearchSocketList(InetAddress[] binds) |
|
SSDPSearchSocketList(InetAddress[] binds,
int port,
String multicastIPv4,
String multicastIPv6) |
Modifier and Type | Method | Description |
---|---|---|
void |
addSearchListener(SearchListener listener) |
|
void |
close() |
|
SSDPSearchSocket |
getSSDPSearchSocket(int n) |
|
boolean |
open() |
|
void |
start() |
|
void |
stop() |
parallelStream, stream
finalize, getClass, notify, notifyAll, wait, wait, wait
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, trimToSize
public SSDPSearchSocketList()
public SSDPSearchSocketList(InetAddress[] binds)
binds
- The IP address that we will used for bindind the servicepublic SSDPSearchSocketList(InetAddress[] binds, int port, String multicastIPv4, String multicastIPv6)
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 comunicationpublic SSDPSearchSocket getSSDPSearchSocket(int n)
public void addSearchListener(SearchListener listener)
public boolean open()
public void close()
public void start()
public void stop()