public interface Sftplet
Modifier and Type | Method and Description |
---|---|
Reply |
afterCommand(SftpSession session,
Request sftpRequest,
Reply sftpReply)
Called after the server as invoked the command.
|
Reply |
beforeCommand(SftpSession session,
Request sftpRequest)
Called before the server invoke the command.
|
void |
onConnect(SftpSession session)
Client connect notification method.
|
void |
onDisconnect(SftpSession session)
Client disconnect notification method.
|
void onConnect(SftpSession session)
session
- The according session.void onDisconnect(SftpSession session)
session
- The according session.Reply beforeCommand(SftpSession session, Request sftpRequest)
session
- The according session.sftpRequest
- The sftp request.Reply afterCommand(SftpSession session, Request sftpRequest, Reply sftpReply) throws IOException
session
- The according session.sftpRequest
- The sftp request.sftpReply
- The sftp reply.IOException
- If an error occured.Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.