public interface ConnectionServiceRequestHandler extends RequestHandler<ConnectionService>
RequestHandler.Result| Modifier and Type | Field and Description |
|---|---|
static Function<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 Function<ConnectionServiceRequestHandler,RequestHandler<ConnectionService>> SVC2HNDLR
RequestHandler.Result process(ConnectionService service, String request, boolean wantReply, Buffer buffer) throws Exception
RequestHandlerprocess in interface RequestHandler<ConnectionService>service - The input parameterrequest - The request stringwantReply - Whether a reply is requestedbuffer - The Buffer with request specific dataRequestHandler.ResultException - If failed to handle the request - Note: in
order to signal an unsupported request the RequestHandler.Result.Unsupported
value should be returnedCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.