public interface GlobalRequestHandler<T extends SshContext>
The SSH protocol allows for the sending of requests independently of any communication channel. One of the main uses of this mechanism is to request remote forwardings, however it can be used for any purpose.
Modifier and Type | Method and Description |
---|---|
boolean |
processGlobalRequest(GlobalRequest request,
ConnectionProtocol<T> connection)
Process a global request.
|
String[] |
supportedRequests()
Returns an array of strings containing the supported global requests.
|
boolean processGlobalRequest(GlobalRequest request, ConnectionProtocol<T> connection)
request
- GlobalRequestsessionid
- byte[]String[] supportedRequests()
Copyright © 2016. All rights reserved.