Interface OServerPlugin
- All Superinterfaces:
OService
- All Known Subinterfaces:
OServerHandler
- All Known Implementing Classes:
OAutomaticBackup,OCustomSQLFunctionPlugin,ODefaultSyslog,ODistributedPlugin,OEnterpriseAgent,OEnterpriseServerImpl,OETLPlugin,OGraphServerHandler,OGremlinServerPlugin,OHazelcastPlugin,OJMXPlugin,OLiveQueryPlugin,OMailPlugin,OProxyServer,OSecurityPlugin,OServerHandlerAbstract,OServerPluginAbstract,OServerSideScriptInterpreter
Server handler interface. Used when configured in the server configuration.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfig(OServer oServer, OServerParameterConfiguration[] iParams) Configures the handler.getContent(String iURL) voidonAfterClientRequest(OClientConnection iConnection, byte iRequestType) Callback invoked after a client request is processed.voidonBeforeClientRequest(OClientConnection iConnection, byte iRequestType) Callback invoked before a client request is processed.voidonClientConnection(OClientConnection iConnection) Callback invoked when a client connection begins.voidonClientDisconnection(OClientConnection iConnection) Callback invoked when a client connection ends.voidonClientError(OClientConnection iConnection, Throwable iThrowable) Callback invoked when a client connection has errors.default voidonSocketAccepted(ONetworkProtocol protocol) default voidonSocketDestroyed(ONetworkProtocol protocol) void
-
Method Details
-
onClientConnection
Callback invoked when a client connection begins. -
onClientDisconnection
Callback invoked when a client connection ends. -
onBeforeClientRequest
Callback invoked before a client request is processed. -
onAfterClientRequest
Callback invoked after a client request is processed. -
onClientError
Callback invoked when a client connection has errors.- Parameters:
iThrowable- Throwable instance received
-
config
Configures the handler. Called at startup. -
onSocketAccepted
-
onSocketDestroyed
-
sendShutdown
void sendShutdown() -
getContent
-