Secure iNet Factory

com.jscape.inet.sftp.requests
Interface Request

All Known Implementing Classes:
AttributesRequest, RealPathRequest, SetAttributesRequest

public interface Request

Interface adapter to SFTP tasks.

Version:
1.0
Author:
Alex
See Also:
Source code

Method Summary
 void execute(SftpClient client)
          Executes request.
 boolean isValid()
          Checks if request is in valid state.
 

Method Detail

isValid

boolean isValid()
Checks if request is in valid state.

Returns:
true if request is valid; false otherwise

execute

void execute(SftpClient client)
             throws SftpException
Executes request.

Parameters:
client - client
Throws:
SftpException - if an error occurs

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved