public class TCPConnectionManager extends ConnectionManager
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static Map<ITCPConnectionManagerEntry.NamedEntry,ITCPConnectionManagerEntry> |
Entries |
protected static Object |
lockEntries |
protected static Logger |
logger |
protected ServerSocket |
Sock |
protected static Object |
synchStart |
ConfigMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static String |
GetConnectionManagerHostName() |
static int |
GetConnectionManagerPort() |
static ITCPConnectionManagerEntry |
GetEntry(ITCPConnectionManagerEntry.NamedEntry Name) |
static void |
Init() |
static void |
Init(ConnectionManagerConfig Config) |
static void |
Init(TCPConnectionManagerConfig Config) |
static boolean |
IsInitialized() |
static ServerSocket |
OpenSocket() |
static ITCPConnectionManagerEntry |
RegisterEntry(ITCPConnectionManagerEntry Entry) |
void |
run() |
initializeConfigFromFileactiveCount, 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, yieldprotected static Logger logger
protected static final Map<ITCPConnectionManagerEntry.NamedEntry,ITCPConnectionManagerEntry> Entries
protected static final Object lockEntries
protected static final Object synchStart
protected ServerSocket Sock
public static void Init(TCPConnectionManagerConfig Config)
public static void Init(ConnectionManagerConfig Config)
public static void Init()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic static boolean IsInitialized()
public static String GetConnectionManagerHostName()
public static int GetConnectionManagerPort()
public static ITCPConnectionManagerEntry RegisterEntry(ITCPConnectionManagerEntry Entry)
public static ITCPConnectionManagerEntry GetEntry(ITCPConnectionManagerEntry.NamedEntry Name)
public static ServerSocket OpenSocket()
Copyright © 2018. All Rights Reserved.