blob: b4ced6e8492b88f1d000a8514d6e2bcd7a4cf5cf [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_66) on Fri Jan 15 14:33:44 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SftpEventListener (Apache Mina SSHD :: Core 1.1.0 API)</title>
<meta name="date" content="2016-01-15">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SftpEventListener (Apache Mina SSHD :: Core 1.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SftpEventListener.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/PrincipalBase.html" title="class in org.apache.sshd.server.subsystem.sftp"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListenerManager.html" title="interface in org.apache.sshd.server.subsystem.sftp"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sshd/server/subsystem/sftp/SftpEventListener.html" target="_top">Frames</a></li>
<li><a href="SftpEventListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.sshd.server.subsystem.sftp</div>
<h2 title="Interface SftpEventListener" class="title">Interface SftpEventListener</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/AbstractSftpEventListenerAdapter.html" title="class in org.apache.sshd.server.subsystem.sftp">AbstractSftpEventListenerAdapter</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SftpEventListener</span>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</a></pre>
<div class="block">Can be used register for SFTP events. <B>Note:</B> it does not expose
the entire set of available SFTP commands and responses (e.g., no reports
for initialization, extensions, parameters re-negotiation, etc...);</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#blocked-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-int-java.lang.Throwable-">blocked</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length,
int&nbsp;mask,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>after</U> blocking a file section</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#blocking-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-int-">blocking</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length,
int&nbsp;mask)</code>
<div class="block">Called <U>prior</U> to blocking a file section</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#close-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.Handle-">close</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/Handle.html" title="class in org.apache.sshd.server.subsystem.sftp">Handle</a>&nbsp;localHandle)</code>
<div class="block">Specified file / directory has been closed</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#created-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-java.lang.Throwable-">created</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>after</U> creating a directory</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#creating-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-">creating</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs)</code>
<div class="block">Called <U>prior</U> to creating a directory</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#destroying-org.apache.sshd.server.session.ServerSession-">destroying</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session)</code>
<div class="block">Called when subsystem is destroyed since it was closed</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#initialized-org.apache.sshd.server.session.ServerSession-int-">initialized</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
int&nbsp;version)</code>
<div class="block">Called when the SFTP protocol has been initialized</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#linked-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-boolean-java.lang.Throwable-">linked</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;source,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;target,
boolean&nbsp;symLink,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>after</U> creating a link</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#linking-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-boolean-">linking</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;source,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;target,
boolean&nbsp;symLink)</code>
<div class="block">Called <U>prior</U> to creating a link</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#modifiedAttributes-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-java.lang.Throwable-">modifiedAttributes</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>after</U> modifying the attributes of a file / directory</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#modifyingAttributes-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-">modifyingAttributes</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs)</code>
<div class="block">Called <U>prior</U> to modifying the attributes of a file / directory</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#moved-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-java.util.Collection-java.lang.Throwable-">moved</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;srcPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;dstPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/CopyOption.html?is-external=true" title="class or interface in java.nio.file">CopyOption</a>&gt;&nbsp;opts,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>after</U> renaming a file / directory</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#moving-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-java.util.Collection-">moving</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;srcPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;dstPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/CopyOption.html?is-external=true" title="class or interface in java.nio.file">CopyOption</a>&gt;&nbsp;opts)</code>
<div class="block">Called <U>prior</U> to renaming a file / directory</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#open-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.Handle-">open</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/Handle.html" title="class in org.apache.sshd.server.subsystem.sftp">Handle</a>&nbsp;localHandle)</code>
<div class="block">Specified file / directory has been opened</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#read-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.DirectoryHandle-java.util.Map-">read</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/DirectoryHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">DirectoryHandle</a>&nbsp;localHandle,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&gt;&nbsp;entries)</code>
<div class="block">Result of reading entries from a directory - <B>Note:</B> it may be a
<U>partial</U> result if the directory contains more entries than can
be accommodated in the response</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#read-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-byte:A-int-int-int-">read</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
byte[]&nbsp;data,
int&nbsp;dataOffset,
int&nbsp;dataLen,
int&nbsp;readLen)</code>
<div class="block">Result of reading from a file</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#removed-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.lang.Throwable-">removed</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>after</U> a file / directory has been removed</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#removing-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-">removing</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path)</code>
<div class="block">Called <U>prior</U> to removing a file / directory</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#unblocked-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-java.lang.Boolean-java.lang.Throwable-">unblocked</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;result,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</code>
<div class="block">Called <U>prior</U> to un-blocking a file section</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#unblocking-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-">unblocking</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length)</code>
<div class="block">Called <U>prior</U> to un-blocking a file section</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#write-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-byte:A-int-int-">write</a></span>(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
byte[]&nbsp;data,
int&nbsp;dataOffset,
int&nbsp;dataLen)</code>
<div class="block">Result of writing to a file</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="initialized-org.apache.sshd.server.session.ServerSession-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initialized</h4>
<pre>void&nbsp;initialized(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
int&nbsp;version)</pre>
<div class="block">Called when the SFTP protocol has been initialized</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>version</code> - The negotiated SFTP version</dd>
</dl>
</li>
</ul>
<a name="destroying-org.apache.sshd.server.session.ServerSession-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroying</h4>
<pre>void&nbsp;destroying(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session)</pre>
<div class="block">Called when subsystem is destroyed since it was closed</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The associated <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a></dd>
</dl>
</li>
</ul>
<a name="open-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.Handle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>open</h4>
<pre>void&nbsp;open(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/Handle.html" title="class in org.apache.sshd.server.subsystem.sftp">Handle</a>&nbsp;localHandle)</pre>
<div class="block">Specified file / directory has been opened</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file / directory</dd>
<dd><code>localHandle</code> - The associated file / directory <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/Handle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>Handle</code></a></dd>
</dl>
</li>
</ul>
<a name="read-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.DirectoryHandle-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>void&nbsp;read(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/DirectoryHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">DirectoryHandle</a>&nbsp;localHandle,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&gt;&nbsp;entries)</pre>
<div class="block">Result of reading entries from a directory - <B>Note:</B> it may be a
<U>partial</U> result if the directory contains more entries than can
be accommodated in the response</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the directory</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/DirectoryHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>DirectoryHandle</code></a></dd>
<dd><code>entries</code> - A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> of the listed entries - key = short name,
value = <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> of the sub-entry</dd>
</dl>
</li>
</ul>
<a name="read-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-byte:A-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>void&nbsp;read(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
byte[]&nbsp;data,
int&nbsp;dataOffset,
int&nbsp;dataLen,
int&nbsp;readLen)</pre>
<div class="block">Result of reading from a file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>FileHandle</code></a></dd>
<dd><code>offset</code> - Offset in file from which to read</dd>
<dd><code>data</code> - Buffer holding the read data</dd>
<dd><code>dataOffset</code> - Offset of read data in buffer</dd>
<dd><code>dataLen</code> - Requested read length</dd>
<dd><code>readLen</code> - Actual read length</dd>
</dl>
</li>
</ul>
<a name="write-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>void&nbsp;write(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
byte[]&nbsp;data,
int&nbsp;dataOffset,
int&nbsp;dataLen)</pre>
<div class="block">Result of writing to a file</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>FileHandle</code></a></dd>
<dd><code>offset</code> - Offset in file to which to write</dd>
<dd><code>data</code> - Buffer holding the written data</dd>
<dd><code>dataOffset</code> - Offset of write data in buffer</dd>
<dd><code>dataLen</code> - Requested write length</dd>
</dl>
</li>
</ul>
<a name="blocking-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>blocking</h4>
<pre>void&nbsp;blocking(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length,
int&nbsp;mask)</pre>
<div class="block">Called <U>prior</U> to blocking a file section</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>FileHandle</code></a></dd>
<dd><code>offset</code> - Offset in file for locking</dd>
<dd><code>length</code> - Section size for locking</dd>
<dd><code>mask</code> - Lock mask flags - see <code>SSH_FXP_BLOCK</code> message</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#blocked-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-int-java.lang.Throwable-"><code>blocked(ServerSession, String, FileHandle, long, long, int, Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="blocked-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-int-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>blocked</h4>
<pre>void&nbsp;blocked(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length,
int&nbsp;mask,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>after</U> blocking a file section</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>FileHandle</code></a></dd>
<dd><code>offset</code> - Offset in file for locking</dd>
<dd><code>length</code> - Section size for locking</dd>
<dd><code>mask</code> - Lock mask flags - see <code>SSH_FXP_BLOCK</code> message</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
<a name="unblocking-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unblocking</h4>
<pre>void&nbsp;unblocking(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length)</pre>
<div class="block">Called <U>prior</U> to un-blocking a file section</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>FileHandle</code></a></dd>
<dd><code>offset</code> - Offset in file for un-locking</dd>
<dd><code>length</code> - Section size for un-locking</dd>
</dl>
</li>
</ul>
<a name="unblocked-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.FileHandle-long-long-java.lang.Boolean-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unblocked</h4>
<pre>void&nbsp;unblocked(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp">FileHandle</a>&nbsp;localHandle,
long&nbsp;offset,
long&nbsp;length,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;result,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>prior</U> to un-blocking a file section</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file</dd>
<dd><code>localHandle</code> - The associated <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/FileHandle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>FileHandle</code></a></dd>
<dd><code>offset</code> - Offset in file for un-locking</dd>
<dd><code>length</code> - Section size for un-locking</dd>
<dd><code>result</code> - If successful (i.e., <tt>thrown</tt> is <code>null</code>, then whether
section was un-blocked</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
<a name="close-org.apache.sshd.server.session.ServerSession-java.lang.String-org.apache.sshd.server.subsystem.sftp.Handle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>void&nbsp;close(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;remoteHandle,
<a href="../../../../../../org/apache/sshd/server/subsystem/sftp/Handle.html" title="class in org.apache.sshd.server.subsystem.sftp">Handle</a>&nbsp;localHandle)</pre>
<div class="block">Specified file / directory has been closed</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>remoteHandle</code> - The (opaque) assigned handle for the file / directory</dd>
<dd><code>localHandle</code> - The associated file / directory <a href="../../../../../../org/apache/sshd/server/subsystem/sftp/Handle.html" title="class in org.apache.sshd.server.subsystem.sftp"><code>Handle</code></a></dd>
</dl>
</li>
</ul>
<a name="creating-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>creating</h4>
<pre>void&nbsp;creating(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs)</pre>
<div class="block">Called <U>prior</U> to creating a directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>path</code> - Directory <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to be created</dd>
<dd><code>attrs</code> - Requested associated attributes to set</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#created-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-java.lang.Throwable-"><code>created(ServerSession, Path, Map, Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="created-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>created</h4>
<pre>void&nbsp;created(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>after</U> creating a directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>path</code> - Directory <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to be created</dd>
<dd><code>attrs</code> - Requested associated attributes to set</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
<a name="moving-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moving</h4>
<pre>void&nbsp;moving(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;srcPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;dstPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/CopyOption.html?is-external=true" title="class or interface in java.nio.file">CopyOption</a>&gt;&nbsp;opts)</pre>
<div class="block">Called <U>prior</U> to renaming a file / directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>srcPath</code> - The source <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>dstPath</code> - The target <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>opts</code> - The resolved renaming options</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#moved-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-java.util.Collection-java.lang.Throwable-"><code>moved(ServerSession, Path, Path, Collection, Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="moved-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-java.util.Collection-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moved</h4>
<pre>void&nbsp;moved(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;srcPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;dstPath,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/CopyOption.html?is-external=true" title="class or interface in java.nio.file">CopyOption</a>&gt;&nbsp;opts,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>after</U> renaming a file / directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>srcPath</code> - The source <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>dstPath</code> - The target <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>opts</code> - The resolved renaming options</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
<a name="removing-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removing</h4>
<pre>void&nbsp;removing(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path)</pre>
<div class="block">Called <U>prior</U> to removing a file / directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>path</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> about to be removed</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#removed-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.lang.Throwable-"><code>removed(ServerSession, Path, Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="removed-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removed</h4>
<pre>void&nbsp;removed(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>after</U> a file / directory has been removed</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>path</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to be removed</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
<a name="linking-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linking</h4>
<pre>void&nbsp;linking(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;source,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;target,
boolean&nbsp;symLink)</pre>
<div class="block">Called <U>prior</U> to creating a link</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>source</code> - The source <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>target</code> - The target <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>symLink</code> - <code>true</code> = symbolic link</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#linked-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-boolean-java.lang.Throwable-"><code>linked(ServerSession, Path, Path, boolean, Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="linked-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.nio.file.Path-boolean-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linked</h4>
<pre>void&nbsp;linked(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;source,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;target,
boolean&nbsp;symLink,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>after</U> creating a link</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>source</code> - The source <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>target</code> - The target <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a></dd>
<dd><code>symLink</code> - <code>true</code> = symbolic link</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
<a name="modifyingAttributes-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>modifyingAttributes</h4>
<pre>void&nbsp;modifyingAttributes(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs)</pre>
<div class="block">Called <U>prior</U> to modifying the attributes of a file / directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>path</code> - The file / directory <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to be modified</dd>
<dd><code>attrs</code> - The attributes <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> - names and values depend on the
O/S, view, type, etc...</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListener.html#modifiedAttributes-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-java.lang.Throwable-"><code>modifiedAttributes(ServerSession, Path, Map, Throwable)</code></a></dd>
</dl>
</li>
</ul>
<a name="modifiedAttributes-org.apache.sshd.server.session.ServerSession-java.nio.file.Path-java.util.Map-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>modifiedAttributes</h4>
<pre>void&nbsp;modifiedAttributes(<a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session">ServerSession</a>&nbsp;session,
<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;path,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,?&gt;&nbsp;attrs,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;thrown)</pre>
<div class="block">Called <U>after</U> modifying the attributes of a file / directory</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - The <a href="../../../../../../org/apache/sshd/server/session/ServerSession.html" title="interface in org.apache.sshd.server.session"><code>ServerSession</code></a> through which the request was handled</dd>
<dd><code>path</code> - The file / directory <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file"><code>Path</code></a> to be modified</dd>
<dd><code>attrs</code> - The attributes <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> - names and values depend on the
O/S, view, type, etc...</dd>
<dd><code>thrown</code> - If not-<code>null</code> then the reason for the failure to execute</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SftpEventListener.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/PrincipalBase.html" title="class in org.apache.sshd.server.subsystem.sftp"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/sshd/server/subsystem/sftp/SftpEventListenerManager.html" title="interface in org.apache.sshd.server.subsystem.sftp"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sshd/server/subsystem/sftp/SftpEventListener.html" target="_top">Frames</a></li>
<li><a href="SftpEventListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>