public abstract class AbstractCustomRequestHandler extends java.lang.Object implements CustomRequestHandler
Modifier | Constructor and Description |
---|---|
protected |
AbstractCustomRequestHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This method is called at when the agent is stopped.
|
protected Agent |
getAgent() |
void |
init(Agent agent)
Initialize the request handler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleCmd
private Agent agent
public void init(Agent agent)
CustomRequestHandler
init
in interface CustomRequestHandler
agent
- The agentpublic void close()
CustomRequestHandler
close
in interface CustomRequestHandler
protected Agent getAgent()