T
- Request typepublic interface RequestHandler<T>
Modifier and Type | Interface and Description |
---|---|
static class |
RequestHandler.Result |
Modifier and Type | Method and Description |
---|---|
RequestHandler.Result |
process(T t,
String request,
boolean wantReply,
Buffer buffer)
Process an SSH request.
|
RequestHandler.Result process(T t, String request, boolean wantReply, Buffer buffer) throws Exception
t
- 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.