public interface ConnectionServiceRequestHandler extends RequestHandler<ConnectionService>
RequestHandler.Result
Modifier and Type | Field and Description |
---|---|
static Transformer<ConnectionServiceRequestHandler,RequestHandler<ConnectionService>> |
SVC2HNDLR |
Modifier and Type | Method and Description |
---|---|
RequestHandler.Result |
process(ConnectionService service,
String request,
boolean wantReply,
Buffer buffer)
Process an SSH request.
|
static final Transformer<ConnectionServiceRequestHandler,RequestHandler<ConnectionService>> SVC2HNDLR
RequestHandler.Result process(ConnectionService service, String request, boolean wantReply, Buffer buffer) throws Exception
RequestHandler
process
in interface RequestHandler<ConnectionService>
service
- 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.