
public abstract class ONetworkProtocol
extends com.orientechnologies.common.thread.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,
com.orientechnologies.orient.core.config.OContextConfiguration iConfiguration) |
abstract OBinaryRequestExecutor |
executor(OClientConnection connection) |
abstract com.orientechnologies.orient.enterprise.channel.OChannel |
getChannel() |
String |
getListeningAddress() |
OServer |
getServer() |
abstract String |
getType() |
abstract int |
getVersion() |
afterExecution, beforeExecution, execute, isDumpExceptions, isShutdownFlag, pauseCurrentThread, run, sendShutdown, setDumpExceptions, shutdown, softShutdown, startupactiveCount, 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 OServer server
public ONetworkProtocol(ThreadGroup group, String name)
public abstract void config(OServerNetworkListener iListener, OServer iServer, Socket iSocket, com.orientechnologies.orient.core.config.OContextConfiguration iConfiguration) throws IOException
IOExceptionpublic abstract String getType()
public abstract int getVersion()
public abstract com.orientechnologies.orient.enterprise.channel.OChannel getChannel()
public String getListeningAddress()
public OServer getServer()
public abstract OBinaryRequestExecutor executor(OClientConnection connection)
Copyright © 2009–2018 OrientDB. All rights reserved.