Class ProbeReceiverThread
java.lang.Object
java.lang.Thread
io.antmedia.ipcamera.onvifdiscovery.ProbeReceiverThread
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Collection<String>private final CountDownLatchprivate final CountDownLatchprivate final DatagramSocketFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionProbeReceiverThread(Collection<String> addresses, CountDownLatch serverStarted, DatagramSocket socket, CountDownLatch serverFinished) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection<Node>getNodeMatching(Node body, String regexp) private static Collection<String>parseSoapResponseForUrls(byte[] data) voidrun()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
addresses
-
serverStarted
-
socket
-
serverFinished
-
-
Constructor Details
-
ProbeReceiverThread
public ProbeReceiverThread(Collection<String> addresses, CountDownLatch serverStarted, DatagramSocket socket, CountDownLatch serverFinished)
-
-
Method Details
-
run
public void run() -
getNodeMatching
-
parseSoapResponseForUrls
private static Collection<String> parseSoapResponseForUrls(byte[] data) throws jakarta.xml.soap.SOAPException, IOException - Throws:
jakarta.xml.soap.SOAPExceptionIOException
-