public class SSDPSearchResponseSocketList extends Vector<SSDPSearchResponseSocket>
SSDPSearchResponseSocket instances to send SSDP search
requests and receive responses across different network interfaces.capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
SSDPSearchResponseSocketList() |
SSDPSearchResponseSocketList(InetAddress[] binds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SSDPSearchResponseSocket |
getSSDPSearchResponseSocket(int n) |
boolean |
open() |
boolean |
open(int port) |
boolean |
post(SSDPSearchRequest req) |
void |
setControlPoint(ControlPoint ctrlPoint) |
void |
start() |
void |
stop() |
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, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, streampublic SSDPSearchResponseSocketList()
public SSDPSearchResponseSocketList(InetAddress[] binds)
binds - The host to bind.Use null for the default behaviorpublic void close()
public SSDPSearchResponseSocket getSSDPSearchResponseSocket(int n)
public boolean open()
public boolean open(int port)
public boolean post(SSDPSearchRequest req)
public void setControlPoint(ControlPoint ctrlPoint)
public void start()
public void stop()