public interface ChannelRequestHandler extends RequestHandler<Channel>
RequestHandler.Result| Modifier and Type | Field and Description |
|---|---|
static Transformer<ChannelRequestHandler,RequestHandler<Channel>> |
CHANN2HNDLR |
| Modifier and Type | Method and Description |
|---|---|
RequestHandler.Result |
process(Channel channel,
String request,
boolean wantReply,
Buffer buffer)
Process an SSH request.
|
static final Transformer<ChannelRequestHandler,RequestHandler<Channel>> CHANN2HNDLR
RequestHandler.Result process(Channel channel, String request, boolean wantReply, Buffer buffer) throws Exception
RequestHandlerprocess in interface RequestHandler<Channel>channel - 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–2015 The Apache Software Foundation. All rights reserved.