Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ADRESS |
static int |
DEFAULT_PORT |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
static void |
gracefulShutdown()
Closes server socket
Already connected clients can finish their work but no new clients can connect.
|
static boolean |
initialize(String hostname,
Integer port,
InstrumentationProvider provider)
This method is used to create an ConnectionDelegator object and start
listener thread
|
void |
run()
Waits for new connection.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static final int DEFAULT_PORT
public static final String DEFAULT_ADRESS
public static boolean initialize(String hostname, Integer port, InstrumentationProvider provider)
hostname
- host name to open communication withport
- on which open socketprovider
- this is where instrumentation and transformer objects are
storedpublic void run()
public static void gracefulShutdown()
Copyright © 2019. All rights reserved.