public abstract class AbstractConnectionServiceRequestHandler extends AbstractLoggingBean implements ConnectionServiceRequestHandler
RequestHandler.Result
log
SVC2HNDLR
Modifier | Constructor and Description |
---|---|
protected |
AbstractConnectionServiceRequestHandler() |
Modifier and Type | Method and Description |
---|---|
RequestHandler.Result |
process(ConnectionService connectionService,
String request,
boolean wantReply,
Buffer buffer)
Process an SSH request.
|
protected AbstractConnectionServiceRequestHandler()
public RequestHandler.Result process(ConnectionService connectionService, String request, boolean wantReply, Buffer buffer) throws Exception
RequestHandler
process
in interface RequestHandler<ConnectionService>
process
in interface ConnectionServiceRequestHandler
connectionService
- The input parameterrequest
- The request stringwantReply
- Whether a reply is requestedbuffer
- The Buffer
with request specific dataRequestHandler.Result
Exception
- If failed to handle the request - Note: in
order to signal an unsupported request the RequestHandler.Result.Unsupported
value should be returnedCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.