| Modifier and Type | Class and Description |
|---|---|
static class |
BfrServer.Reply |
static class |
BfrServer.Request |
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static InetAddress |
IP |
static int |
NUM_PORTS |
static int |
PORT |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static int |
getServerPort(int node)
Provides the port number for a node.
|
void |
run()
Runs the server thread.
|
static void |
startServer(Bfr bfr)
Starts a new server thread.
|
void |
stopRun()
Stops the run.
|
static void |
stopServer(int node)
Stops a server thread.
|
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, yieldpublic static final int PORT
public static final int NUM_PORTS
public static final InetAddress IP
public BfrServer(Bfr bfr) throws org.lsst.ccs.drivers.commons.DriverException
bfr - The BFR being servedorg.lsst.ccs.drivers.commons.DriverExceptionpublic static void startServer(Bfr bfr) throws org.lsst.ccs.drivers.commons.DriverException
bfr - The BFR being servedorg.lsst.ccs.drivers.commons.DriverExceptionpublic static void stopServer(int node)
node - public static int getServerPort(int node)
node - The node number of the BFRpublic void run()
public void stopRun()
Copyright © 2022 LSST. All rights reserved.