Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 810b0d4df5d15a7b0a053293854558b7 > files > 37

ne7ssh-doc-1.3.2-15.fc18.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ne7ssh.kdevelop: ne7ssh_channel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ne7ssh_channel Class Reference</h1><!-- doxytag: class="ne7ssh_channel" --><code>#include &lt;<a class="el" href="ne7ssh__channel_8h_source.html">ne7ssh_channel.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for ne7ssh_channel:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__channel__inherit__graph.png" border="0" usemap="#ne7ssh__channel__inherit__map" alt="Inheritance graph"></center>
<map name="ne7ssh__channel__inherit__map">
<area shape="rect" href="classNe7sshSftp.html" title="Ne7sshSftp" alt="" coords="19,84,115,111"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for ne7ssh_channel:</div>
<div class="dynsection">
<p><center><img src="classne7ssh__channel__coll__graph.png" border="0" usemap="#ne7ssh__channel__coll__map" alt="Collaboration graph"></center>
<map name="ne7ssh__channel__coll__map">
<area shape="rect" href="classne7ssh__string.html" title="ne7ssh_string" alt="" coords="5,7,115,33"><area shape="rect" href="classne7ssh__session.html" title="ne7ssh_session" alt="" coords="275,7,397,33"><area shape="rect" href="classne7ssh__crypt.html" title="ne7ssh_crypt" alt="" coords="207,137,313,164"><area shape="rect" href="classne7ssh__transport.html" title="ne7ssh_transport" alt="" coords="379,137,512,164"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classne7ssh__channel-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#2ca4770827c460ade71f4f64e14c78d9">ne7ssh_channel</a> (<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *_session)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#59b4a174d73ee8cbdec676f6cbe69c5b">~ne7ssh_channel</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#d744609a8a3ee9c204eabfb87343808d">open</a> (uint32 channelID)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#08d6085ea4493092d483819cde904ef5">getShell</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#1037fa89c4b81050b98209cc89e32188">execCmd</a> (const char *cmd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#450654cc1a212b348b7ccadd5d83e4df">receive</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#4cfe1bda6308751f6f89612b6ea6e5b8">handleReceived</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;_packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#8154fdfcc75f63d71f6d4ebe29155590">write</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;data)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#ad6c9e2d2ee39be1c0cd078d30f7b11b">sendAll</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#f12993833f77a6e0cf673133737a995c">data2Send</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#d78ff7808101f1e577a8dcc6715df1e8">isOpen</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#96400430e7b338389aab85a04ea9921e">sendClose</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#5a4bed6a381e7c2521995015272ebb8b">sendEof</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Botan::SecureVector<br class="typebreak">
&lt; Botan::byte &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#8a5aa42877d987be82de852804d64224">getReceived</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#19cecc814a558e70e692475a861b14b0">getCmdComplete</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#bba1bcb1c5cf307707b55451cd399598">isRemoteShell</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#a2d5379bfc1884c3f12bd024bdb0ca9a">adjustRecvWindow</a> (int bufferSize)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#acafeb21fdfe9bd9a6e805c51635a724">getRecvWindow</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#af0b5ad2f382674b621d4b923f688e1f">getSendWindow</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#959a7e3dc6162e4a7c3a30470728b835">sendAdjustWindow</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b4c2c5a96df5cb5018de3bfa132ada4"></a><!-- doxytag: member="ne7ssh_channel::windowRecv" ref="9b4c2c5a96df5cb5018de3bfa132ada4" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>windowRecv</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93ad54eaf07680e24f8c98f0baedf97a"></a><!-- doxytag: member="ne7ssh_channel::windowSend" ref="93ad54eaf07680e24f8c98f0baedf97a" args="" -->
uint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>windowSend</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00b73e6ac533691884ca24d2d0f3655c"></a><!-- doxytag: member="ne7ssh_channel::channelOpened" ref="00b73e6ac533691884ca24d2d0f3655c" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>channelOpened</b></td></tr>

<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#ec28c7ca08840c27ef98650acb520a35">handleChannelConfirm</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#bc8252b3f45175c8178d495f11c748a0">adjustWindow</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#5752552709e47b3693b393be19f69139">handleData</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#fa9835e80a26e96ae733de123713e1db">handleExtendedData</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#468c9ba36282ab97e535c9285fd00b79">handleEof</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#1fbc5d7d3f5f986a1a8921aecf5aaa2e">handleClose</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#195ca3cdebd29ea9285762bfc777eb64">handleRequest</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classne7ssh__channel.html#9145226f1b6b0d2e3c20154da81d0bac">handleDisconnect</a> (Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)</td></tr>

<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faec7f8ab4d61554589011e73ee48b11"></a><!-- doxytag: member="ne7ssh_channel::eof" ref="faec7f8ab4d61554589011e73ee48b11" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>eof</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24cbdcaf4d5787af875c7c1688be9e8d"></a><!-- doxytag: member="ne7ssh_channel::closed" ref="24cbdcaf4d5787af875c7c1688be9e8d" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>closed</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc258d45748f73c775715a7788eb8ae4"></a><!-- doxytag: member="ne7ssh_channel::cmdComplete" ref="dc258d45748f73c775715a7788eb8ae4" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>cmdComplete</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e08779bc600b3e45e38839738cbaca00"></a><!-- doxytag: member="ne7ssh_channel::shellSpawned" ref="e08779bc600b3e45e38839738cbaca00" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>shellSpawned</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8d264fba07423974e30cf6238d2a4b9f"></a><!-- doxytag: member="ne7ssh_channel::session" ref="8d264fba07423974e30cf6238d2a4b9f" args="" -->
<a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>session</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4b0f78b42352aa5e30ece3985e00243"></a><!-- doxytag: member="ne7ssh_channel::inBuffer" ref="f4b0f78b42352aa5e30ece3985e00243" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>inBuffer</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4de5203ea6a360c4a1c88f14e4f079eb"></a><!-- doxytag: member="ne7ssh_channel::outBuffer" ref="4de5203ea6a360c4a1c88f14e4f079eb" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>outBuffer</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6fb47771145166f04989f6a4c9c8b483"></a><!-- doxytag: member="ne7ssh_channel::delayedBuffer" ref="6fb47771145166f04989f6a4c9c8b483" args="" -->
<a class="el" href="classne7ssh__string.html">ne7ssh_string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>delayedBuffer</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Andrew Useckas </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2ca4770827c460ade71f4f64e14c78d9"></a><!-- doxytag: member="ne7ssh_channel::ne7ssh_channel" ref="2ca4770827c460ade71f4f64e14c78d9" args="(ne7ssh_session *_session)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ne7ssh_channel::ne7ssh_channel           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classne7ssh__session.html">ne7ssh_session</a> *&nbsp;</td>
          <td class="paramname"> <em>_session</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a> class consturctor. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_session</em>&nbsp;</td><td>Pointer to <a class="el" href="classne7ssh__session.html">ne7ssh_session</a>. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="59b4a174d73ee8cbdec676f6cbe69c5b"></a><!-- doxytag: member="ne7ssh_channel::~ne7ssh_channel" ref="59b4a174d73ee8cbdec676f6cbe69c5b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ne7ssh_channel::~ne7ssh_channel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classne7ssh__channel.html">ne7ssh_channel</a> class destructor. 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2d5379bfc1884c3f12bd024bdb0ca9a"></a><!-- doxytag: member="ne7ssh_channel::adjustRecvWindow" ref="a2d5379bfc1884c3f12bd024bdb0ca9a" args="(int bufferSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::adjustRecvWindow           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bufferSize</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks if receive window needs adjusting, if so send a window adjust request. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>bufferSize</em>&nbsp;</td><td>Current buffer size. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>False on any error, otherwise true. </dd></dl>

<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">sendAdjustWindow()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00083">Ne7sshSftp::handleData()</a>.</p>

</div>
</div><p>
<a class="anchor" name="bc8252b3f45175c8178d495f11c748a0"></a><!-- doxytag: member="ne7ssh_channel::adjustWindow" ref="bc8252b3f45175c8178d495f11c748a0" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::adjustWindow           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'WINDOWS_ADJUST' packet. <p>
It's used to increase our sending window size. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing WINDOW_ADJUST packet. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If parsing of payload is successful, returns true, otherwise false is returned. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f12993833f77a6e0cf673133737a995c"></a><!-- doxytag: member="ne7ssh_channel::data2Send" ref="f12993833f77a6e0cf673133737a995c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::data2Send           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks if there is any data waiting to be sent. Most often called from selectThread via <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a> class. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if there is data to send, otherwise false is returned. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00156">ne7ssh_connection::data2Send()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1037fa89c4b81050b98209cc89e32188"></a><!-- doxytag: member="ne7ssh_channel::execCmd" ref="1037fa89c4b81050b98209cc89e32188" args="(const char *cmd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::execCmd           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>cmd</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Executes a single command on the remote end and terminates the connection. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cmd</em>&nbsp;</td><td>Remote command to execute. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if command if sening of a command succeded. False returned on failure. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00296">ne7ssh_connection::sendCmd()</a>.</p>

</div>
</div><p>
<a class="anchor" name="19cecc814a558e70e692475a861b14b0"></a><!-- doxytag: member="ne7ssh_channel::getCmdComplete" ref="19cecc814a558e70e692475a861b14b0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::getCmdComplete           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
When executing a single command with <a class="el" href="classne7ssh.html#cd4c007e963c376b28cacaf0d9c9fa15">ne7ssh::sendCmd</a> this command is used to determine when remote side finishes the execution. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if execution of the command is complete. Otherwise false. </dd></dl>

<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00200">ne7ssh_connection::getCmdComplete()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8a5aa42877d987be82de852804d64224"></a><!-- doxytag: member="ne7ssh_channel::getReceived" ref="8a5aa42877d987be82de852804d64224" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Botan::SecureVector&lt;Botan::byte&gt;&amp; ne7ssh_channel::getReceived           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets last received packet. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to a vector containing the last received packet. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00194">ne7ssh_connection::getReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="acafeb21fdfe9bd9a6e805c51635a724"></a><!-- doxytag: member="ne7ssh_channel::getRecvWindow" ref="acafeb21fdfe9bd9a6e805c51635a724" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32 ne7ssh_channel::getRecvWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the current size of the receive window. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the revceive window. </dd></dl>

<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00028">Ne7sshSftp::Ne7sshSftp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="af0b5ad2f382674b621d4b923f688e1f"></a><!-- doxytag: member="ne7ssh_channel::getSendWindow" ref="af0b5ad2f382674b621d4b923f688e1f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32 ne7ssh_channel::getSendWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the current size of the send window. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the send window. </dd></dl>

<p>Referenced by <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00028">Ne7sshSftp::Ne7sshSftp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="08d6085ea4493092d483819cde904ef5"></a><!-- doxytag: member="ne7ssh_channel::getShell" ref="08d6085ea4493092d483819cde904ef5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::getShell           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Requests shell from remote side. Does not wait for or expect a reply. According to SSH specs that's an acceptable behavior. 
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ec28c7ca08840c27ef98650acb520a35"></a><!-- doxytag: member="ne7ssh_channel::handleChannelConfirm" ref="ec28c7ca08840c27ef98650acb520a35" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::handleChannelConfirm           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'CHANNEL_OPEN_CONFIRMATION' packet. <p>
After parsing the payload, send channel ID is assigned, along with send windows size and maximum packer size. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Always returns true. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00116">ne7ssh_session::setMaxPacket()</a>, and <a class="el" href="ne7ssh__session_8h_source.html#l00092">ne7ssh_session::setSendChannel()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00034">open()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1fbc5d7d3f5f986a1a8921aecf5aaa2e"></a><!-- doxytag: member="ne7ssh_channel::handleClose" ref="1fbc5d7d3f5f986a1a8921aecf5aaa2e" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::handleClose           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'CLOSE' packet. <p>
If the close action wasn't initiated on this end, we also send a 'CLOSE' packet to the remote side, prompting the closing of remote side's receiving channel. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing the 'CLOSE' packet. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">sendClose()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5752552709e47b3693b393be19f69139"></a><!-- doxytag: member="ne7ssh_channel::handleData" ref="5752552709e47b3693b393be19f69139" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::handleData           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'DATA' packet. <p>
It's used to parse the payload, and add received data to the buffer. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing 'DATA' packet. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If parsing of payload is successful, returns true, otherwise false is returned. </dd></dl>

<p>Reimplemented in <a class="el" href="classNe7sshSftp.html#e85f889433d08962712780e4d9d5bfcc">Ne7sshSftp</a>.</p>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00205">ne7ssh_string::chop()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">sendAdjustWindow()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">handleExtendedData()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9145226f1b6b0d2e3c20154da81d0bac"></a><!-- doxytag: member="ne7ssh_channel::handleDisconnect" ref="9145226f1b6b0d2e3c20154da81d0bac" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::handleDisconnect           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'DISCONNECT' packet. <p>
In normal operation we should not get this packet. Only if some serious error occurs, and makes remote side drop the connection, will this packet be received. And at that point we disconnect right away, and throw an error. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing the 'DISCONNECT' packet. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="468c9ba36282ab97e535c9285fd00b79"></a><!-- doxytag: member="ne7ssh_channel::handleEof" ref="468c9ba36282ab97e535c9285fd00b79" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::handleEof           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'EOF' packet. <p>
It's used to close the receiving window and channel. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing EOF packet. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00139">sendClose()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="fa9835e80a26e96ae733de123713e1db"></a><!-- doxytag: member="ne7ssh_channel::handleExtendedData" ref="fa9835e80a26e96ae733de123713e1db" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::handleExtendedData           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle 'EXTENDED_DATA' packet. This packet is mostly used to transmit remote side errors. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing 'EXTENDED_DATA' packet. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>If parsing of payload is successful, returns true, otherwise false is returned. </dd></dl>

<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">handleData()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00171">sendAdjustWindow()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4cfe1bda6308751f6f89612b6ea6e5b8"></a><!-- doxytag: member="ne7ssh_channel::handleReceived" ref="4cfe1bda6308751f6f89612b6ea6e5b8" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;_packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::handleReceived           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>_packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Handle a packet received from remote side. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_packet</em>&nbsp;</td><td>Reference to a newly received packet. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the packet successfully processed. False on any error. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00087">adjustWindow()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00159">ne7ssh_string::getByte()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00114">handleClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">handleData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00124">handleDisconnect()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00102">handleEof()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">handleExtendedData()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00227">handleRequest()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00301">receive()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00162">Ne7sshSftp::receiveUntil()</a>, <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00196">Ne7sshSftp::receiveWhile()</a>, and <a class="el" href="ne7ssh__sftp_8cpp_source.html#l00147">Ne7sshSftp::receiveWindowAdjust()</a>.</p>

</div>
</div><p>
<a class="anchor" name="195ca3cdebd29ea9285762bfc777eb64"></a><!-- doxytag: member="ne7ssh_channel::handleRequest" ref="195ca3cdebd29ea9285762bfc777eb64" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;packet)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::handleRequest           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>packet</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function is used to handle the 'REQUEST' packet. <p>
At this point only two requests are supported, namely "exit-signal" and "exit-status". For the most part we ignore this packet, which is safe to do according to SSH specs. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>packet</em>&nbsp;</td><td>Reference to vector containing the 'REQUEST' packet. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00159">ne7ssh_string::getByte()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00149">ne7ssh_string::getInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00134">ne7ssh_session::getSshChannel()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00122">ne7ssh_string::getString()</a>, and <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d78ff7808101f1e577a8dcc6715df1e8"></a><!-- doxytag: member="ne7ssh_channel::isOpen" ref="d78ff7808101f1e577a8dcc6715df1e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::isOpen           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks if current channel is in an open state. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if channel is open, otherwise false is returned. </dd></dl>

<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00182">ne7ssh_connection::isOpen()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00321">ne7ssh_connection::sendClose()</a>.</p>

</div>
</div><p>
<a class="anchor" name="bba1bcb1c5cf307707b55451cd399598"></a><!-- doxytag: member="ne7ssh_channel::isRemoteShell" ref="bba1bcb1c5cf307707b55451cd399598" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::isRemoteShell           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines if the shell has been spawned on the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the shell has been spawned. Otherwise false. </dd></dl>

<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00212">ne7ssh_connection::isRemoteShell()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00302">ne7ssh_connection::startSftp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d744609a8a3ee9c204eabfb87343808d"></a><!-- doxytag: member="ne7ssh_channel::open" ref="d744609a8a3ee9c204eabfb87343808d" args="(uint32 channelID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32 ne7ssh_channel::open           </td>
          <td>(</td>
          <td class="paramtype">uint32&nbsp;</td>
          <td class="paramname"> <em>channelID</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Requests 'CHANNEL_OPEN' from the remote side. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>channelID</em>&nbsp;</td><td>New receiving channel ID. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns new channel ID, or 0 if open fails. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00047">ne7ssh_string::addString()</a>, <a class="el" href="ne7ssh_8cpp_source.html#l00721">ne7ssh::errors()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00063">handleChannelConfirm()</a>, <a class="el" href="ne7ssh__error_8cpp_source.html#l00042">Ne7sshError::push()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00075">ne7ssh_connection::connectWithKey()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00044">ne7ssh_connection::connectWithPassword()</a>.</p>

</div>
</div><p>
<a class="anchor" name="450654cc1a212b348b7ccadd5d83e4df"></a><!-- doxytag: member="ne7ssh_channel::receive" ref="450654cc1a212b348b7ccadd5d83e4df" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::receive           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Receives new packet from remote side. This function is mostly used from selectThread. 
<p>References <a class="el" href="ne7ssh__transport_8cpp_source.html#l00401">ne7ssh_transport::getPacket()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00329">handleReceived()</a>, and <a class="el" href="ne7ssh__transport_8cpp_source.html#l00301">ne7ssh_transport::waitForPacket()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8cpp_source.html#l00285">ne7ssh_connection::handleData()</a>.</p>

</div>
</div><p>
<a class="anchor" name="959a7e3dc6162e4a7c3a30470728b835"></a><!-- doxytag: member="ne7ssh_channel::sendAdjustWindow" ref="959a7e3dc6162e4a7c3a30470728b835" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::sendAdjustWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Request adjustment of the send window size on the remote end, so we can receive more data. 
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00122">ne7ssh_session::getMaxPacket()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00446">adjustRecvWindow()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00185">handleData()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00204">handleExtendedData()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ad6c9e2d2ee39be1c0cd078d30f7b11b"></a><!-- doxytag: member="ne7ssh_channel::sendAll" ref="ad6c9e2d2ee39be1c0cd078d30f7b11b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::sendAll           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sends the entire buffer. Most often called from selectThread via <a class="el" href="classne7ssh__connection.html">ne7ssh_connection</a> class. 
<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00091">ne7ssh_string::addVectorField()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>, and <a class="el" href="ne7ssh__channel_8cpp_source.html#l00376">write()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__connection_8h_source.html#l00162">ne7ssh_connection::sendData()</a>.</p>

</div>
</div><p>
<a class="anchor" name="96400430e7b338389aab85a04ea9921e"></a><!-- doxytag: member="ne7ssh_channel::sendClose" ref="96400430e7b338389aab85a04ea9921e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::sendClose           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
When closing a channel, initiates the closing procedure. <dl class="return" compact><dt><b>Returns:</b></dt><dd>False if sending fails. Otherwise true is returned. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00114">handleClose()</a>, <a class="el" href="ne7ssh__channel_8cpp_source.html#l00102">handleEof()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00321">ne7ssh_connection::sendClose()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5a4bed6a381e7c2521995015272ebb8b"></a><!-- doxytag: member="ne7ssh_channel::sendEof" ref="5a4bed6a381e7c2521995015272ebb8b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ne7ssh_channel::sendEof           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Send EOF to the remote side. <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if sending succeeds, otherwise false. </dd></dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00110">ne7ssh_string::addChar()</a>, <a class="el" href="ne7ssh__string_8cpp_source.html#l00115">ne7ssh_string::addInt()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00098">ne7ssh_session::getSendChannel()</a>, <a class="el" href="ne7ssh__transport_8cpp_source.html#l00255">ne7ssh_transport::sendPacket()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8154fdfcc75f63d71f6d4ebe29155590"></a><!-- doxytag: member="ne7ssh_channel::write" ref="8154fdfcc75f63d71f6d4ebe29155590" args="(Botan::SecureVector&lt; Botan::byte &gt; &amp;data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ne7ssh_channel::write           </td>
          <td>(</td>
          <td class="paramtype">Botan::SecureVector&lt; Botan::byte &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pushes a new command to the buffer where the selectThread will catch and send it. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>Reference to vector containing a command to be added to the buffer. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="ne7ssh__string_8cpp_source.html#l00105">ne7ssh_string::addVector()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00066">ne7ssh_string::clear()</a>, <a class="el" href="ne7ssh__session_8h_source.html#l00122">ne7ssh_session::getMaxPacket()</a>, <a class="el" href="ne7ssh__string_8h_source.html#l00135">ne7ssh_string::length()</a>, and <a class="el" href="ne7ssh__string_8h_source.html#l00129">ne7ssh_string::value()</a>.</p>

<p>Referenced by <a class="el" href="ne7ssh__channel_8cpp_source.html#l00421">sendAll()</a>, and <a class="el" href="ne7ssh__connection_8cpp_source.html#l00290">ne7ssh_connection::sendData()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ne7ssh__channel_8h_source.html">ne7ssh_channel.h</a><li>ne7ssh_channel.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue May 5 14:10:42 2009 for ne7ssh.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>