com.maverick.ssh2
Interface GlobalRequestHandler


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.

Author:
Lee David Painter

Method Summary
 boolean processGlobalRequest(GlobalRequest request)
          Called when a supported global request has been recieved.
 java.lang.String[] supportedRequests()
          Return the supported request types.
 

Method Detail

supportedRequests

public java.lang.String[] supportedRequests()
Return the supported request types.

Returns:
an array of Strings containing the supported request types.

processGlobalRequest

public boolean processGlobalRequest(GlobalRequest request)
                             throws SshException
Called when a supported global request has been recieved.

Parameters:
request -
Returns:
true if the request succeeded, otherwise false
Throws:
java.io.IOException
SshException


Copyright © 2003 3SP LTD. All Rights Reserved.