public class OGraphServerHandler extends OServerPluginAbstract implements OScriptInjection
Constructor and Description |
---|
OGraphServerHandler() |
Modifier and Type | Method and Description |
---|---|
void |
bind(ScriptEngine engine,
Bindings binding,
ODatabaseDocument database) |
void |
config(OServer server,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
String |
getName() |
void |
onAfterClientRequest(OClientConnection connection,
byte requestType)
Callback invoked after a client request is processed.
|
void |
shutdown() |
void |
startup() |
void |
unbind(ScriptEngine engine,
Bindings binding) |
getContent, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, sendShutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onSocketAccepted, onSocketDestroyed
public void config(OServer server, OServerParameterConfiguration[] iParams)
OServerPlugin
config
in interface OServerPlugin
config
in class OServerPluginAbstract
public void startup()
startup
in interface OService
startup
in class OServerPluginAbstract
public void shutdown()
shutdown
in interface OService
shutdown
in class OServerPluginAbstract
public void bind(ScriptEngine engine, Bindings binding, ODatabaseDocument database)
bind
in interface OScriptInjection
public void unbind(ScriptEngine engine, Bindings binding)
unbind
in interface OScriptInjection
public void onAfterClientRequest(OClientConnection connection, byte requestType)
OServerPlugin
onAfterClientRequest
in interface OServerPlugin
onAfterClientRequest
in class OServerPluginAbstract
Copyright © 2009–2020 OrientDB. All rights reserved.