
public abstract class OServerPluginAbstract extends Object implements OServerPlugin
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
| Constructor and Description |
|---|
OServerPluginAbstract() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(OServer oServer,
OServerParameterConfiguration[] iParams)
Configures the handler.
|
Object |
getContent(String iURL) |
void |
onAfterClientRequest(OClientConnection iConnection,
byte iRequestType)
Callback invoked after a client request is processed.
|
void |
onBeforeClientRequest(OClientConnection iConnection,
byte iRequestType)
Callback invoked before a client request is processed.
|
void |
onClientConnection(OClientConnection iConnection)
Callback invoked when a client connection begins.
|
void |
onClientDisconnection(OClientConnection iConnection)
Callback invoked when a client connection ends.
|
void |
onClientError(OClientConnection iConnection,
Throwable iThrowable)
Callback invoked when a client connection has errors.
|
void |
sendShutdown() |
void |
shutdown() |
void |
startup() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonSocketAccepted, onSocketDestroyedpublic void sendShutdown()
sendShutdown in interface OServerPluginpublic void config(OServer oServer, OServerParameterConfiguration[] iParams)
OServerPluginconfig in interface OServerPluginpublic void onClientConnection(OClientConnection iConnection)
OServerPluginonClientConnection in interface OServerPluginpublic void onClientDisconnection(OClientConnection iConnection)
OServerPluginonClientDisconnection in interface OServerPluginpublic void onBeforeClientRequest(OClientConnection iConnection, byte iRequestType)
OServerPluginonBeforeClientRequest in interface OServerPluginpublic void onAfterClientRequest(OClientConnection iConnection, byte iRequestType)
OServerPluginonAfterClientRequest in interface OServerPluginpublic void onClientError(OClientConnection iConnection, Throwable iThrowable)
OServerPluginonClientError in interface OServerPluginiThrowable - Throwable instance receivedpublic Object getContent(String iURL)
getContent in interface OServerPluginCopyright © 2009–2025 OrientDB. All rights reserved.