private static class RegistrarImpl.Multicast extends Object implements Runnable, InterruptedStatusThread.Interruptable
Modifier and Type | Field and Description |
---|---|
private List<NetworkInterface> |
failedInterfaces
Interfaces for which configuration failed
|
private boolean |
interrupted |
private RegistrarImpl |
reggie |
private InetAddress |
requestAddr
Multicast group address used by multicast requests
|
private Set<RegistrarImpl.AddressTask> |
runningTasks |
private MulticastSocket |
socket
Multicast socket to receive packets
|
Constructor and Description |
---|
Multicast(RegistrarImpl reggie)
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() |
private final RegistrarImpl reggie
private final InetAddress requestAddr
private final MulticastSocket socket
private final List<NetworkInterface> failedInterfaces
private final Set<RegistrarImpl.AddressTask> runningTasks
private volatile boolean interrupted
public Multicast(RegistrarImpl reggie) throws IOException
IOException
public void interrupt()
interrupt
in interface InterruptedStatusThread.Interruptable
private void retryFailedInterfaces()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.