Package org.cybergarage.upnp.ssdp
Class SSDPSearchSocketList
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.Vector<SSDPSearchSocket>
- 
- org.cybergarage.upnp.ssdp.SSDPSearchSocketList
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<SSDPSearchSocket>,- Collection<SSDPSearchSocket>,- List<SSDPSearchSocket>,- RandomAccess
 
 public class SSDPSearchSocketList extends Vector<SSDPSearchSocket> - See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class java.util.VectorcapacityIncrement, elementCount, elementData
 - 
Fields inherited from class java.util.AbstractListmodCount
 
- 
 - 
Constructor SummaryConstructors Constructor Description SSDPSearchSocketList()SSDPSearchSocketList(InetAddress[] binds)SSDPSearchSocketList(InetAddress[] binds, int port, String multicastIPv4, String multicastIPv6)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSearchListener(SearchListener listener)voidclose()SSDPSearchSocketgetSSDPSearchSocket(int n)booleanopen()voidstart()voidstop()- 
Methods inherited from class java.util.Vectoradd, 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
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, stream, toArray
 
- 
 
- 
- 
- 
Constructor Detail- 
SSDPSearchSocketListpublic SSDPSearchSocketList() 
 - 
SSDPSearchSocketListpublic SSDPSearchSocketList(InetAddress[] binds) - Parameters:
- binds- The IP address that we will used for bindind the service
 
 - 
SSDPSearchSocketListpublic SSDPSearchSocketList(InetAddress[] binds, int port, String multicastIPv4, String multicastIPv6) - Parameters:
- binds- The IP address that we will used for bindind the service
- port- The port that we will used for bindind the service
- multicastIPv4- The IPv4 address that we will used for multicast comunication
- multicastIPv6- The IPv6 address that we will used for multicast comunication
- Since:
- 1.8
 
 
- 
 - 
Method Detail- 
getSSDPSearchSocketpublic SSDPSearchSocket getSSDPSearchSocket(int n) 
 - 
addSearchListenerpublic void addSearchListener(SearchListener listener) 
 - 
openpublic boolean open() 
 - 
closepublic void close() 
 - 
startpublic void start() 
 - 
stoppublic void stop() 
 
- 
 
-