private static class RegistrarImpl.Unicast extends Object implements Runnable, InterruptedStatusThread.Interruptable
Modifier and Type | Field and Description |
---|---|
private static Boolean |
arbitraryPort |
private boolean |
interrupted |
private ServerSocket |
listen
Server socket to accepts connections on.
|
int |
port
Listen port
|
private RegistrarImpl |
reggie |
Constructor and Description |
---|
Unicast(RegistrarImpl reggie,
int port)
Create a daemon thread.
|
private static final Boolean arbitraryPort
private final RegistrarImpl reggie
private final ServerSocket listen
public final int port
private volatile boolean interrupted
public Unicast(RegistrarImpl reggie, int port) throws IOException
IOException
public void interrupt()
interrupt
in interface InterruptedStatusThread.Interruptable
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.