private class RegistrarImpl.MulticastThread extends InterruptedStatusThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private List |
failedInterfaces
Interfaces for which configuration failed
|
private InetAddress |
requestAddr
Multicast group address used by multicast requests
|
private MulticastSocket |
socket
Multicast socket to receive packets
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
RegistrarImpl.MulticastThread()
Create a high priority daemon thread.
|
Modifier and Type | Method and Description |
---|---|
void |
interrupt() |
private void |
retryFailedInterfaces()
Attempts to configure each interface contained in the
failedInterfaces list, removing it from the list if configuration
succeeds.
|
void |
run() |
hasBeenInterrupted
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final InetAddress requestAddr
private final MulticastSocket socket
private final List failedInterfaces
public RegistrarImpl.MulticastThread() throws IOException
IOException
public void interrupt()
interrupt
in class InterruptedStatusThread
private void retryFailedInterfaces()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.