blob: a86c9eb65a824d19c19fa0db212db09a1a0bb55c [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:41 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DefaultSftpClient (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="DefaultSftpClient (Apache Mina SSHD :: Core 1.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/DefaultSftpClient.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/client/subsystem/sftp/DefaultCloseableHandle.html" title="class in org.apache.sshd.client.subsystem.sftp"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/RawSftpClient.html" title="interface in org.apache.sshd.client.subsystem.sftp"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html" target="_top">Frames</a></li>
<li><a href="DefaultSftpClient.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><a href="#fields.inherited.from.class.org.apache.sshd.common.util.logging.AbstractLoggingBean">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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.client.subsystem.sftp</div>
<h2 title="Class DefaultSftpClient" class="title">Class DefaultSftpClient</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html" title="class in org.apache.sshd.common.util.logging">org.apache.sshd.common.util.logging.AbstractLoggingBean</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/sshd/client/subsystem/AbstractSubsystemClient.html" title="class in org.apache.sshd.client.subsystem">org.apache.sshd.client.subsystem.AbstractSubsystemClient</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html" title="class in org.apache.sshd.client.subsystem.sftp">org.apache.sshd.client.subsystem.sftp.AbstractSftpClient</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sshd.client.subsystem.sftp.DefaultSftpClient</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true" title="class or interface in java.nio.channels">Channel</a>, <a href="../../../../../../org/apache/sshd/client/session/ClientSessionHolder.html" title="interface in org.apache.sshd.client.session">ClientSessionHolder</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/RawSftpClient.html" title="interface in org.apache.sshd.client.subsystem.sftp">RawSftpClient</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html" title="interface in org.apache.sshd.client.subsystem.sftp">SftpClient</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/SubsystemClient.html" title="interface in org.apache.sshd.client.subsystem">SubsystemClient</a>, <a href="../../../../../../org/apache/sshd/common/NamedResource.html" title="interface in org.apache.sshd.common">NamedResource</a>, <a href="../../../../../../org/apache/sshd/common/session/SessionHolder.html" title="interface in org.apache.sshd.common.session">SessionHolder</a>&lt;<a href="../../../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DefaultSftpClient</span>
extends <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html" title="class in org.apache.sshd.client.subsystem.sftp">AbstractSftpClient</a></pre>
<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">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.client.subsystem.sftp.SftpClient">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.sshd.client.subsystem.sftp.<a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html" title="interface in org.apache.sshd.client.subsystem.sftp">SftpClient</a></h3>
<code><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.Attribute.html" title="enum in org.apache.sshd.client.subsystem.sftp">SftpClient.Attribute</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.Attributes.html" title="class in org.apache.sshd.client.subsystem.sftp">SftpClient.Attributes</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.CloseableHandle.html" title="class in org.apache.sshd.client.subsystem.sftp">SftpClient.CloseableHandle</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.CopyMode.html" title="enum in org.apache.sshd.client.subsystem.sftp">SftpClient.CopyMode</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.DirEntry.html" title="class in org.apache.sshd.client.subsystem.sftp">SftpClient.DirEntry</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.Handle.html" title="class in org.apache.sshd.client.subsystem.sftp">SftpClient.Handle</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.OpenMode.html" title="enum in org.apache.sshd.client.subsystem.sftp">SftpClient.OpenMode</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.common.NamedResource">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../../../org/apache/sshd/common/NamedResource.html" title="interface in org.apache.sshd.common">NamedResource</a></h3>
<code><a href="../../../../../../org/apache/sshd/common/NamedResource.Utils.html" title="class in org.apache.sshd.common">NamedResource.Utils</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.util.logging.AbstractLoggingBean">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.util.logging.<a href="../../../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html" title="class in org.apache.sshd.common.util.logging">AbstractLoggingBean</a></h3>
<code><a href="../../../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html#log">log</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.client.subsystem.sftp.SftpClient">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sshd.client.subsystem.sftp.<a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html" title="interface in org.apache.sshd.client.subsystem.sftp">SftpClient</a></h3>
<code><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#DEFAULT_CHANNEL_OPEN_TIMEOUT">DEFAULT_CHANNEL_OPEN_TIMEOUT</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#DEFAULT_READ_BUFFER_SIZE">DEFAULT_READ_BUFFER_SIZE</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#DEFAULT_WAIT_TIMEOUT">DEFAULT_WAIT_TIMEOUT</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#DEFAULT_WRITE_BUFFER_SIZE">DEFAULT_WRITE_BUFFER_SIZE</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#IO_BUFFER_SIZE">IO_BUFFER_SIZE</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#MIN_BUFFER_SIZE">MIN_BUFFER_SIZE</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#MIN_READ_BUFFER_SIZE">MIN_READ_BUFFER_SIZE</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#MIN_WRITE_BUFFER_SIZE">MIN_WRITE_BUFFER_SIZE</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpClient.html#SFTP_CHANNEL_OPEN_TIMEOUT">SFTP_CHANNEL_OPEN_TIMEOUT</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.NamedResource">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../../../org/apache/sshd/common/NamedResource.html" title="interface in org.apache.sshd.common">NamedResource</a></h3>
<code><a href="../../../../../../org/apache/sshd/common/NamedResource.html#BY_NAME_COMPARATOR">BY_NAME_COMPARATOR</a>, <a href="../../../../../../org/apache/sshd/common/NamedResource.html#NAME_EXTRACTOR">NAME_EXTRACTOR</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#DefaultSftpClient-org.apache.sshd.client.session.ClientSession-">DefaultSftpClient</a></span>(<a href="../../../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a>&nbsp;clientSession)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== 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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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/client/subsystem/sftp/DefaultSftpClient.html#close--">close</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#data-byte:A-int-int-">data</a></span>(byte[]&nbsp;buf,
int&nbsp;start,
int&nbsp;len)</code>
<div class="block">Receive binary data</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sshd/client/channel/ClientChannel.html" title="interface in org.apache.sshd.client.channel">ClientChannel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#getClientChannel--">getClientChannel</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#getClientSession--">getClientSession</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><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>,byte[]&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#getServerExtensions--">getServerExtensions</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#getVersion--">getVersion</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#init-long-">init</a></span>(long&nbsp;initializationTimeout)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#isClosing--">isClosing</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#isOpen--">isOpen</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#negotiateVersion-org.apache.sshd.client.subsystem.sftp.SftpVersionSelector-">negotiateVersion</a></span>(<a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpVersionSelector.html" title="interface in org.apache.sshd.client.subsystem.sftp">SftpVersionSelector</a>&nbsp;selector)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#process-org.apache.sshd.common.util.buffer.Buffer-">process</a></span>(<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;incoming)</code>
<div class="block">Process an SFTP packet</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#read--">read</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#receive-org.apache.sshd.common.util.buffer.Buffer-">receive</a></span>(<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;incoming)</code>
<div class="block">Read SFTP packets from buffer</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#receive-int-">receive</a></span>(int&nbsp;id)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#send-int-org.apache.sshd.common.util.buffer.Buffer-">send</a></span>(int&nbsp;cmd,
<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;buffer)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.client.subsystem.sftp.AbstractSftpClient">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.client.subsystem.sftp.<a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html" title="class in org.apache.sshd.client.subsystem.sftp">AbstractSftpClient</a></h3>
<code><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#canonicalPath-java.lang.String-">canonicalPath</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkAttributes-org.apache.sshd.common.util.buffer.Buffer-">checkAttributes</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkAttributes-int-org.apache.sshd.common.util.buffer.Buffer-">checkAttributes</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkData-org.apache.sshd.common.util.buffer.Buffer-int-byte:A-java.util.concurrent.atomic.AtomicReference-">checkData</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkData-int-org.apache.sshd.common.util.buffer.Buffer-int-byte:A-java.util.concurrent.atomic.AtomicReference-">checkData</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkDir-org.apache.sshd.common.util.buffer.Buffer-java.util.concurrent.atomic.AtomicReference-">checkDir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkHandle-org.apache.sshd.common.util.buffer.Buffer-">checkHandle</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkHandle-int-org.apache.sshd.common.util.buffer.Buffer-">checkHandle</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkOneName-org.apache.sshd.common.util.buffer.Buffer-">checkOneName</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkOneName-int-org.apache.sshd.common.util.buffer.Buffer-">checkOneName</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkStatus-org.apache.sshd.common.util.buffer.Buffer-">checkStatus</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkStatus-int-org.apache.sshd.common.util.buffer.Buffer-">checkStatus</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#checkStatus-int-int-java.lang.String-java.lang.String-">checkStatus</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#close-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-">close</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#getExtension-java.lang.Class-">getExtension</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#getExtension-org.apache.sshd.client.subsystem.sftp.extensions.SftpClientExtensionFactory-">getExtension</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#getExtension-java.lang.String-">getExtension</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#getName--">getName</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#getParsedServerExtensions--">getParsedServerExtensions</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#getParsedServerExtensions-java.util.Map-">getParsedServerExtensions</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#handleUnexpectedAttributesPacket-int-int-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnexpectedAttributesPacket</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#handleUnexpectedHandlePacket-int-int-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnexpectedHandlePacket</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#handleUnexpectedPacket-int-int-int-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnexpectedPacket</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#handleUnknownDataPacket-int-int-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnknownDataPacket</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#handleUnknownDirListingPacket-int-int-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnknownDirListingPacket</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#handleUnknownOneNamePacket-int-int-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnknownOneNamePacket</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#link-java.lang.String-java.lang.String-boolean-">link</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#lock-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-long-int-">lock</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#lstat-java.lang.String-">lstat</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#mkdir-java.lang.String-">mkdir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#open-java.lang.String-">open</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#open-java.lang.String-java.util.Collection-">open</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#open-java.lang.String-org.apache.sshd.client.subsystem.sftp.SftpClient.OpenMode...-">open</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#openDir-java.lang.String-">openDir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-byte:A-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-byte:A-java.util.concurrent.atomic.AtomicReference-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-byte:A-int-int-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-byte:A-int-int-java.util.concurrent.atomic.AtomicReference-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-java.lang.String-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-java.lang.String-java.util.Collection-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-java.lang.String-int-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-java.lang.String-int-java.util.Collection-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-java.lang.String-int-org.apache.sshd.client.subsystem.sftp.SftpClient.OpenMode...-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#read-java.lang.String-org.apache.sshd.client.subsystem.sftp.SftpClient.OpenMode...-">read</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#readAttributes-org.apache.sshd.common.util.buffer.Buffer-">readAttributes</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#readDir-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-">readDir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#readDir-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-java.util.concurrent.atomic.AtomicReference-">readDir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#readDir-java.lang.String-">readDir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#readLink-java.lang.String-">readLink</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#remove-java.lang.String-">remove</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#rename-java.lang.String-java.lang.String-">rename</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#rename-java.lang.String-java.lang.String-java.util.Collection-">rename</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#rename-java.lang.String-java.lang.String-org.apache.sshd.client.subsystem.sftp.SftpClient.CopyMode...-">rename</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#rmdir-java.lang.String-">rmdir</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#setStat-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-org.apache.sshd.client.subsystem.sftp.SftpClient.Attributes-">setStat</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#setStat-java.lang.String-org.apache.sshd.client.subsystem.sftp.SftpClient.Attributes-">setStat</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#stat-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-">stat</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#stat-java.lang.String-">stat</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#symLink-java.lang.String-java.lang.String-">symLink</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#throwStatusException-int-int-java.lang.String-java.lang.String-">throwStatusException</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#unlock-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-long-">unlock</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-byte:A-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-org.apache.sshd.client.subsystem.sftp.SftpClient.Handle-long-byte:A-int-int-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-java.lang.String-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-java.lang.String-java.util.Collection-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-java.lang.String-int-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-java.lang.String-int-java.util.Collection-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-java.lang.String-int-org.apache.sshd.client.subsystem.sftp.SftpClient.OpenMode...-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#write-java.lang.String-org.apache.sshd.client.subsystem.sftp.SftpClient.OpenMode...-">write</a>, <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/AbstractSftpClient.html#writeAttributes-org.apache.sshd.common.util.buffer.Buffer-org.apache.sshd.client.subsystem.sftp.SftpClient.Attributes-">writeAttributes</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.client.subsystem.AbstractSubsystemClient">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.client.subsystem.<a href="../../../../../../org/apache/sshd/client/subsystem/AbstractSubsystemClient.html" title="class in org.apache.sshd.client.subsystem">AbstractSubsystemClient</a></h3>
<code><a href="../../../../../../org/apache/sshd/client/subsystem/AbstractSubsystemClient.html#getSession--">getSession</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.session.SessionHolder">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.session.<a href="../../../../../../org/apache/sshd/common/session/SessionHolder.html" title="interface in org.apache.sshd.common.session">SessionHolder</a></h3>
<code><a href="../../../../../../org/apache/sshd/common/session/SessionHolder.html#getSession--">getSession</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultSftpClient-org.apache.sshd.client.session.ClientSession-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultSftpClient</h4>
<pre>public&nbsp;DefaultSftpClient(<a href="../../../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a>&nbsp;clientSession)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
<pre>public&nbsp;int&nbsp;getVersion()</pre>
</li>
</ul>
<a name="getClientSession--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientSession</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a>&nbsp;getClientSession()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The underlying <a href="../../../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session"><code>ClientSession</code></a> used</dd>
</dl>
</li>
</ul>
<a name="getClientChannel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClientChannel</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sshd/client/channel/ClientChannel.html" title="interface in org.apache.sshd.client.channel">ClientChannel</a>&nbsp;getClientChannel()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The underlying <a href="../../../../../../org/apache/sshd/client/channel/ClientChannel.html" title="interface in org.apache.sshd.client.channel"><code>ClientChannel</code></a> used</dd>
</dl>
</li>
</ul>
<a name="getServerExtensions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerExtensions</h4>
<pre>public&nbsp;<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>,byte[]&gt;&nbsp;getServerExtensions()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An (unmodifiable) <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 reported server extensions.</dd>
</dl>
</li>
</ul>
<a name="isClosing--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClosing</h4>
<pre>public&nbsp;boolean&nbsp;isClosing()</pre>
</li>
</ul>
<a name="isOpen--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isOpen</h4>
<pre>public&nbsp;boolean&nbsp;isOpen()</pre>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="data-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>data</h4>
<pre>protected&nbsp;int&nbsp;data(byte[]&nbsp;buf,
int&nbsp;start,
int&nbsp;len)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Receive binary data</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>buf</code> - The buffer for the incoming data</dd>
<dd><code>start</code> - Offset in buffer to place the data</dd>
<dd><code>len</code> - Available space in buffer for the data</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Actual size of received data</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed to receive incoming data</dd>
</dl>
</li>
</ul>
<a name="receive-org.apache.sshd.common.util.buffer.Buffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>receive</h4>
<pre>protected&nbsp;boolean&nbsp;receive(<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;incoming)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Read SFTP packets from buffer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>incoming</code> - The received <a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer"><code>Buffer</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if data from incoming buffer was processed</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to process the buffer</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html#process-org.apache.sshd.common.util.buffer.Buffer-"><code>process(Buffer)</code></a></dd>
</dl>
</li>
</ul>
<a name="process-org.apache.sshd.common.util.buffer.Buffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>process</h4>
<pre>protected&nbsp;void&nbsp;process(<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;incoming)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Process an SFTP packet</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>incoming</code> - The received <a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer"><code>Buffer</code></a></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to process the buffer</dd>
</dl>
</li>
</ul>
<a name="send-int-org.apache.sshd.common.util.buffer.Buffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>send</h4>
<pre>public&nbsp;int&nbsp;send(int&nbsp;cmd,
<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;buffer)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cmd</code> - Command to send - <B>Note:</B> only lower 8-bits are used</dd>
<dd><code>buffer</code> - The <a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer"><code>Buffer</code></a> containing the command data</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The assigned request id</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to send command</dd>
</dl>
</li>
</ul>
<a name="receive-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>receive</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;receive(int&nbsp;id)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - The expected request id</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The received response <a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer"><code>Buffer</code></a> containing the request id</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If connection closed or interrupted</dd>
</dl>
</li>
</ul>
<a name="read--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read</h4>
<pre>protected&nbsp;<a href="../../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a>&nbsp;read()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="init-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>protected&nbsp;void&nbsp;init(long&nbsp;initializationTimeout)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="negotiateVersion-org.apache.sshd.client.subsystem.sftp.SftpVersionSelector-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>negotiateVersion</h4>
<pre>public&nbsp;int&nbsp;negotiateVersion(<a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpVersionSelector.html" title="interface in org.apache.sshd.client.subsystem.sftp">SftpVersionSelector</a>&nbsp;selector)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>selector</code> - The <a href="../../../../../../org/apache/sshd/client/subsystem/sftp/SftpVersionSelector.html" title="interface in org.apache.sshd.client.subsystem.sftp"><code>SftpVersionSelector</code></a> to use</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The selected version (may be same as current)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed to negotiate</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/DefaultSftpClient.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/client/subsystem/sftp/DefaultCloseableHandle.html" title="class in org.apache.sshd.client.subsystem.sftp"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/sshd/client/subsystem/sftp/RawSftpClient.html" title="interface in org.apache.sshd.client.subsystem.sftp"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/sshd/client/subsystem/sftp/DefaultSftpClient.html" target="_top">Frames</a></li>
<li><a href="DefaultSftpClient.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><a href="#fields.inherited.from.class.org.apache.sshd.common.util.logging.AbstractLoggingBean">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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>