Top Methods
org.apache.sshd.scp.common

public Interface ScpReceiveLineHandler

Annotations
@FunctionalInterface
Imports
java.io.IOException, org.apache.sshd.common.session.Session, org.apache.sshd.scp.common.helpers.ScpTimestampCommandDetails

Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public void
process(Session
The client/server Session through which the transfer is being executed
session
,
String
Received SCP input line
line
,
boolean
Does the input line refer to a directory
isDir
,
ScpTimestampCommandDetails
The received ScpTimestampCommandDetails - may be null
time
)

Method Detail

processback to summary
public void process(Session session, String line, boolean isDir, ScpTimestampCommandDetails time) throws IOException
Parameters
session:Session

The client/server Session through which the transfer is being executed

line:String

Received SCP input line

isDir:boolean

Does the input line refer to a directory

time:ScpTimestampCommandDetails

The received ScpTimestampCommandDetails - may be null

Exceptions
IOException:
If failed to process the line