public abstract class ONetworkProtocol extends OSoftThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected OServer |
server |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ONetworkProtocol(ThreadGroup group,
String name) |
Modifier and Type | Method and Description |
---|---|
abstract void |
config(OServerNetworkListener iListener,
OServer iServer,
Socket iSocket,
OContextConfiguration iConfiguration) |
abstract OBinaryRequestExecutor |
executor(OClientConnection connection) |
abstract OChannel |
getChannel() |
String |
getListeningAddress() |
OServer |
getServer() |
abstract String |
getType() |
abstract int |
getVersion() |
afterExecution, beforeExecution, execute, isShutdownFlag, run, sendShutdown, setDumpExceptions, shutdown, softShutdown, startup
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
protected OServer server
public ONetworkProtocol(ThreadGroup group, String name)
public abstract void config(OServerNetworkListener iListener, OServer iServer, Socket iSocket, OContextConfiguration iConfiguration) throws IOException
IOException
public abstract String getType()
public abstract int getVersion()
public abstract OChannel getChannel()
public String getListeningAddress()
public OServer getServer()
public abstract OBinaryRequestExecutor executor(OClientConnection connection)
Copyright © 2009–2020 OrientDB. All rights reserved.