private class RegistrarImpl.UnicastThread extends InterruptedStatusThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private ServerSocket |
listen
Server socket to accepts connections on.
|
int |
port
Listen port
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
RegistrarImpl.UnicastThread(int port)
Create a daemon thread.
|
Modifier and Type | Method and Description |
---|---|
void |
interrupt() |
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 ServerSocket listen
public int port
public RegistrarImpl.UnicastThread(int port) throws IOException
IOException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.