public interface GlobalRequestHandler
There are several kinds of requests that affect the state of the remote end "globally", independent of any channels, this interface defines the contract for handling such global requests.
Modifier and Type | Method and Description |
---|---|
boolean |
processGlobalRequest(GlobalRequest request)
Called when a supported global request has been recieved.
|
String[] |
supportedRequests()
Return the supported request types.
|
String[] supportedRequests()
boolean processGlobalRequest(GlobalRequest request) throws SshException
request
- true
if the request succeeded, otherwise false
IOException
SshException
Copyright © 2024. All rights reserved.