| <!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:43 CET 2016 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>AbstractSession (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="AbstractSession (Apache Mina SSHD :: Core 1.1.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":6,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":9,"i40":9,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":6,"i75":10,"i76":10,"i77":6,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":6,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":6,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/AbstractSession.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/common/session/AbstractConnectionServiceRequestHandler.html" title="class in org.apache.sshd.common.session"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/sshd/common/session/AbstractSessionFactory.html" title="class in org.apache.sshd.common.session"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/sshd/common/session/AbstractSession.html" target="_top">Frames</a></li> |
| <li><a href="AbstractSession.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.common.session</div> |
| <h2 title="Class AbstractSession" class="title">Class AbstractSession</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/common/util/closeable/IoBaseCloseable.html" title="class in org.apache.sshd.common.util.closeable">org.apache.sshd.common.util.closeable.IoBaseCloseable</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">org.apache.sshd.common.util.closeable.AbstractCloseable</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html" title="class in org.apache.sshd.common.util.closeable">org.apache.sshd.common.util.closeable.AbstractInnerCloseable</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html" title="class in org.apache.sshd.common.kex">org.apache.sshd.common.kex.AbstractKexFactoryManager</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.sshd.common.session.AbstractSession</li> |
| </ul> |
| </li> |
| </ul> |
| </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/common/auth/MutableUserHolder.html" title="interface in org.apache.sshd.common.auth">MutableUserHolder</a>, <a href="../../../../../org/apache/sshd/common/auth/UsernameHolder.html" title="interface in org.apache.sshd.common.auth">UsernameHolder</a>, <a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html" title="interface in org.apache.sshd.common.channel">ChannelListenerManager</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html" title="interface in org.apache.sshd.common.kex">KexFactoryManager</a>, <a href="../../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a>, <a href="../../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a>, <a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a>, <a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html" title="interface in org.apache.sshd.common.session">SessionListenerManager</a>, <a href="../../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html" title="interface in org.apache.sshd.common.signature">SignatureFactoriesManager</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/apache/sshd/client/session/AbstractClientSession.html" title="class in org.apache.sshd.client.session">AbstractClientSession</a>, <a href="../../../../../org/apache/sshd/server/session/AbstractServerSession.html" title="class in org.apache.sshd.server.session">AbstractServerSession</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">AbstractSession</span> |
| extends <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html" title="class in org.apache.sshd.common.kex">AbstractKexFactoryManager</a> |
| implements <a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></pre> |
| <div class="block"><P> |
| The AbstractSession handles all the basic SSH protocol such as key exchange, authentication, |
| encoding and decoding. Both server side and client side sessions should inherit from this |
| abstract class. Some basic packet processing methods are defined but the actual call to these |
| methods should be done from the <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleMessage-org.apache.sshd.common.util.buffer.Buffer-"><code>handleMessage(Buffer)</code></a> |
| method, which is dependent on the state and side of this session. |
| </P> |
| |
| TODO: if there is any very big packet, decoderBuffer and uncompressBuffer will get quite big |
| and they won't be resized down at any time. Though the packet size is really limited |
| by the channel max packet size</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== 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.common.util.closeable.AbstractCloseable"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.<a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.State.html" title="enum in org.apache.sshd.common.util.closeable">AbstractCloseable.State</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.common.session.Session"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.sshd.common.session.<a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="type parameter in Session.AttributeKey">T</a>>, <a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.common.signature.SignatureFactoriesManager"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.sshd.common.signature.<a href="../../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html" title="interface in org.apache.sshd.common.signature">SignatureFactoriesManager</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.Utils.html" title="class in org.apache.sshd.common.signature">SignatureFactoriesManager.Utils</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><?>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#attributes">attributes</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#authed">authed</a></span></code> |
| <div class="block">Boolean indicating if this session has been authenticated or not</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#authTimeoutStart">authTimeoutStart</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#channelListenerProxy">channelListenerProxy</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#channelListeners">channelListeners</a></span></code> |
| <div class="block">Channel events listener</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#clientProposal">clientProposal</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#clientVersion">clientVersion</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common">Service</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#currentService">currentService</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#decodeLock">decodeLock</a></span></code> </td> |
| </tr> |
| <tr 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/common/session/AbstractSession.html#decoderBuffer">decoderBuffer</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#decoderLength">decoderLength</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#decoderState">decoderState</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#encodeLock">encodeLock</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#firstKexPacketFollows">firstKexPacketFollows</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#i_c">i_c</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#i_s">i_s</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#idleTimeoutStart">idleTimeoutStart</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#ignorePacketDataLength">ignorePacketDataLength</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#ignorePacketsCount">ignorePacketsCount</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#ignorePacketsFrequency">ignorePacketsFrequency</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#ignorePacketsVariance">ignorePacketsVariance</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inBlocksCount">inBlocksCount</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inBytesCount">inBytesCount</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/cipher/Cipher.html" title="interface in org.apache.sshd.common.cipher">Cipher</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inCipher">inCipher</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inCipherSize">inCipherSize</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/compression/Compression.html" title="interface in org.apache.sshd.common.compression">Compression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inCompression">inCompression</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/mac/Mac.html" title="interface in org.apache.sshd.common.mac">Mac</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inMac">inMac</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inMacResult">inMacResult</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#inPacketsCount">inPacketsCount</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#ioSession">ioSession</a></span></code> |
| <div class="block">The underlying MINA session</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isServer">isServer</a></span></code> |
| <div class="block">Client or server side</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#kex">kex</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="../../../../../org/apache/sshd/common/future/DefaultKeyExchangeFuture.html" title="class in org.apache.sshd.common.future">DefaultKeyExchangeFuture</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#kexFutureHolder">kexFutureHolder</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="../../../../../org/apache/sshd/common/kex/KexState.html" title="enum in org.apache.sshd.common.kex">KexState</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#kexState">kexState</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#lastKeyTimeValue">lastKeyTimeValue</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#maxRekeyBlocks">maxRekeyBlocks</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#maxRekeyBytes">maxRekeyBytes</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#maxRekeyInterval">maxRekeyInterval</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#maxRekyPackets">maxRekyPackets</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#negotiationResult">negotiationResult</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outBlocksCount">outBlocksCount</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outBytesCount">outBytesCount</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/cipher/Cipher.html" title="interface in org.apache.sshd.common.cipher">Cipher</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outCipher">outCipher</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outCipherSize">outCipherSize</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/compression/Compression.html" title="interface in org.apache.sshd.common.compression">Compression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outCompression">outCompression</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/mac/Mac.html" title="interface in org.apache.sshd.common.mac">Mac</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outMac">outMac</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#outPacketsCount">outPacketsCount</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Queue.html?is-external=true" title="class or interface in java.util">Queue</a><<a href="../../../../../org/apache/sshd/common/session/PendingWriteFuture.html" title="class in org.apache.sshd.common.session">PendingWriteFuture</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#pendingPackets">pendingPackets</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/random/Random.html" title="interface in org.apache.sshd.common.random">Random</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#random">random</a></span></code> |
| <div class="block">The pseudo random generator</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#requestLock">requestLock</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#seqi">seqi</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#seqo">seqo</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#serverProposal">serverProposal</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#serverVersion">serverVersion</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#SESSION">SESSION</a></span></code> |
| <div class="block">Name of the property where this session is stored in the attributes of the |
| underlying MINA session.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sessionId">sessionId</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sessionListenerProxy">sessionListenerProxy</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sessionListeners">sessionListeners</a></span></code> |
| <div class="block">Session listeners container</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#timeoutStatus">timeoutStatus</a></span></code> </td> |
| </tr> |
| <tr 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/common/session/AbstractSession.html#uncompressBuffer">uncompressBuffer</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#username">username</a></span></code> |
| <div class="block">The name of the authenticated user</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.sshd.common.util.closeable.<a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#closeFuture">closeFuture</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#lock">lock</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#state">state</a></code></li> |
| </ul> |
| <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 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.common.session.Session"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.sshd.common.session.<a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/session/Session.html#DEFAULT_SSH_VERSION_PREFIX">DEFAULT_SSH_VERSION_PREFIX</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"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#AbstractSession-boolean-org.apache.sshd.common.FactoryManager-org.apache.sshd.common.io.IoSession-">AbstractSession</a></span>(boolean isServer, |
| <a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a> factoryManager, |
| <a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession)</code> |
| <div class="block">Create a new session.</div> |
| </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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/common/session/AbstractSession.html#addChannelListener-org.apache.sshd.common.channel.ChannelListener-">addChannelListener</a></span>(<a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a> listener)</code> |
| <div class="block">Add a channel listener</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#addSessionListener-org.apache.sshd.common.session.SessionListener-">addSessionListener</a></span>(<a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a> listener)</code> |
| <div class="block">Add a session listener.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#attachSession-org.apache.sshd.common.io.IoSession-org.apache.sshd.common.session.AbstractSession-">attachSession</a></span>(<a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession, |
| <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a> session)</code> |
| <div class="block">Attach a session to the MINA session</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#calculateNextIgnorePacketCount-org.apache.sshd.common.random.Random-long-int-">calculateNextIgnorePacketCount</a></span>(<a href="../../../../../org/apache/sshd/common/random/Random.html" title="interface in org.apache.sshd.common.random">Random</a> r, |
| long freq, |
| int variance)</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util">Pair</a><<a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkAuthenticationTimeout-long-long-">checkAuthenticationTimeout</a></span>(long now, |
| long authTimeoutMs)</code> |
| <div class="block">Checks if authentication timeout expired</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkForTimeouts--">checkForTimeouts</a></span>()</code> |
| <div class="block">Checks whether the session has timed out (both auth and idle timeouts are checked).</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util">Pair</a><<a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkIdleTimeout-long-long-">checkIdleTimeout</a></span>(long now, |
| long idleTimeoutMs)</code> |
| <div class="block">Checks if idle timeout expired</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkKeys--">checkKeys</a></span>()</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkRekey--">checkRekey</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util">Pair</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#comparePreferredKexProposalOption-org.apache.sshd.common.kex.KexProposalOption-">comparePreferredKexProposalOption</a></span>(<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a> option)</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <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/common/session/AbstractSession.html#createBuffer-byte-">createBuffer</a></span>(byte cmd)</code> |
| <div class="block">Create a new buffer for the specified SSH packet and reserve the needed space |
| (5 bytes) for the packet header.</div> |
| </td> |
| </tr> |
| <tr id="i11" 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/common/session/AbstractSession.html#createBuffer-byte-int-">createBuffer</a></span>(byte cmd, |
| int len)</code> |
| <div class="block">Create a new buffer for the specified SSH packet and reserve the needed space |
| (5 bytes) for the packet header.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#createProposal-java.lang.String-">createProposal</a></span>(<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> hostKeyTypes)</code> |
| <div class="block">Create our proposal for SSH negotiation</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#decode--">decode</a></span>()</code> |
| <div class="block">Decode the incoming buffer and handle packets as needed.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#disconnect-int-java.lang.String-">disconnect</a></span>(int reason, |
| <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> msg)</code> |
| <div class="block">Send a disconnect packet with the given reason and message.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#doHandleMessage-org.apache.sshd.common.util.buffer.Buffer-">doHandleMessage</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#doReadIdentification-org.apache.sshd.common.util.buffer.Buffer-boolean-">doReadIdentification</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| boolean server)</code> |
| <div class="block">Read the remote identification from this buffer.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io">IoWriteFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#doWritePacket-org.apache.sshd.common.util.buffer.Buffer-">doWritePacket</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#encode-org.apache.sshd.common.util.buffer.Buffer-">encode</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> |
| <div class="block">Encode a buffer into the SSH protocol.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#exceptionCaught-java.lang.Throwable-">exceptionCaught</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> |
| <div class="block">Handle any exceptions that occurred on this session.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><T> T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getAttribute-org.apache.sshd.common.session.Session.AttributeKey-">getAttribute</a></span>(<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><T> key)</code> |
| <div class="block">Returns the value of the user-defined attribute of this session.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getAuthTimeout--">getAuthTimeout</a></span>()</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getChannelListenerProxy--">getChannelListenerProxy</a></span>()</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/cipher/CipherInformation.html" title="interface in org.apache.sshd.common.cipher">CipherInformation</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getCipherInformation-boolean-">getCipherInformation</a></span>(boolean incoming)</code> |
| <div class="block">Retrieves current cipher information - <B>Note:</B> may change if |
| key re-exchange executed</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getClientVersion--">getClientVersion</a></span>()</code> |
| <div class="block">Retrieve the client version for this session.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/compression/CompressionInformation.html" title="interface in org.apache.sshd.common.compression">CompressionInformation</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getCompressionInformation-boolean-">getCompressionInformation</a></span>(boolean incoming)</code> |
| <div class="block">Retrieves current compression information - <B>Note:</B> may change if |
| key re-exchange executed</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getFactoryManager--">getFactoryManager</a></span>()</code> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getIdleTimeout--">getIdleTimeout</a></span>()</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getInnerCloseable--">getInnerCloseable</a></span>()</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getIoSession--">getIoSession</a></span>()</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getKex--">getKex</a></span>()</code> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getLock--">getLock</a></span>()</code> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/mac/MacInformation.html" title="interface in org.apache.sshd.common.mac">MacInformation</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getMacInformation-boolean-">getMacInformation</a></span>(boolean incoming)</code> |
| <div class="block">Retrieves current MAC information - <B>Note:</B> may change if |
| key re-exchange executed</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getNegotiatedKexParameter-org.apache.sshd.common.kex.KexProposalOption-">getNegotiatedKexParameter</a></span>(<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a> paramType)</code> |
| <div class="block">Retrieve one of the negotiated values during the KEX stage</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getParentPropertyResolver--">getParentPropertyResolver</a></span>()</code> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <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><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getProperties--">getProperties</a></span>()</code> |
| <div class="block">A map of properties that can be used to configure the SSH server |
| or client.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getServerVersion--">getServerVersion</a></span>()</code> |
| <div class="block">Retrieve the server version for this session.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common">Service</a>><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getService-java.lang.Class-">getService</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</code> |
| <div class="block">Get the service of the specified type.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common">Service</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getServices--">getServices</a></span>()</code> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getSession-org.apache.sshd.common.io.IoSession-">getSession</a></span>(<a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession)</code> |
| <div class="block">Retrieve the session from the MINA session.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getSession-org.apache.sshd.common.io.IoSession-boolean-">getSession</a></span>(<a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession, |
| boolean allowNull)</code> |
| <div class="block">Retrieve the session from the MINA session.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getSessionId--">getSessionId</a></span>()</code> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getSessionListenerProxy--">getSessionListenerProxy</a></span>()</code> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getTimeoutStatus--">getTimeoutStatus</a></span>()</code> |
| <div class="block">Check if timeout has occurred.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getUsername--">getUsername</a></span>()</code> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleDebug-boolean-java.lang.String-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-">handleDebug</a></span>(boolean display, |
| <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> msg, |
| <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> lang, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleDebug-org.apache.sshd.common.util.buffer.Buffer-">handleDebug</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleDisconnect-org.apache.sshd.common.util.buffer.Buffer-">handleDisconnect</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleDisconnect-int-java.lang.String-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-">handleDisconnect</a></span>(int code, |
| <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> msg, |
| <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> lang, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleFirstKexPacketFollows-int-org.apache.sshd.common.util.buffer.Buffer-boolean-">handleFirstKexPacketFollows</a></span>(int cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| boolean followFlag)</code> </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleIgnore-org.apache.sshd.common.util.buffer.Buffer-">handleIgnore</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleIgnore-byte:A-org.apache.sshd.common.util.buffer.Buffer-">handleIgnore</a></span>(byte[] data, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleKexInit-org.apache.sshd.common.util.buffer.Buffer-">handleKexInit</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleKexMessage-int-org.apache.sshd.common.util.buffer.Buffer-">handleKexMessage</a></span>(int cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleMessage-org.apache.sshd.common.util.buffer.Buffer-">handleMessage</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> |
| <div class="block">Abstract method for processing incoming decoded packets.</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleNewKeys-int-org.apache.sshd.common.util.buffer.Buffer-">handleNewKeys</a></span>(int cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleServiceAccept-org.apache.sshd.common.util.buffer.Buffer-">handleServiceAccept</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleServiceAccept-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-">handleServiceAccept</a></span>(<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> serviceName, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleServiceRequest-org.apache.sshd.common.util.buffer.Buffer-">handleServiceRequest</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleServiceRequest-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-">handleServiceRequest</a></span>(<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> serviceName, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleUnimplemented-org.apache.sshd.common.util.buffer.Buffer-">handleUnimplemented</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#handleUnimplemented-int-org.apache.sshd.common.util.buffer.Buffer-">handleUnimplemented</a></span>(int seqNo, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isAuthenticated--">isAuthenticated</a></span>()</code> </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isRekeyBlocksCountExceeded--">isRekeyBlocksCountExceeded</a></span>()</code> </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isRekeyDataSizeExceeded--">isRekeyDataSizeExceeded</a></span>()</code> </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isRekeyPacketCountsExceeded--">isRekeyPacketCountsExceeded</a></span>()</code> </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isRekeyRequired--">isRekeyRequired</a></span>()</code> </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#isRekeyTimeIntervalExceeded--">isRekeyTimeIntervalExceeded</a></span>()</code> </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#mergeProposals-java.util.Map-java.util.Map-">mergeProposals</a></span>(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> current, |
| <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal)</code> </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#messageReceived-org.apache.sshd.common.util.Readable-">messageReceived</a></span>(<a href="../../../../../org/apache/sshd/common/util/Readable.html" title="interface in org.apache.sshd.common.util">Readable</a> buffer)</code> |
| <div class="block">Main input point for the MINA framework.</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#negotiate--">negotiate</a></span>()</code> |
| <div class="block">Compute the negotiated proposals by merging the client and |
| server proposal.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#notImplemented--">notImplemented</a></span>()</code> |
| <div class="block">Send an unimplemented packet.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#preClose--">preClose</a></span>()</code> |
| <div class="block">preClose is guaranteed to be called before doCloseGracefully or doCloseImmediately.</div> |
| </td> |
| </tr> |
| <tr id="i73" 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/common/session/AbstractSession.html#prepareBuffer-byte-org.apache.sshd.common.util.buffer.Buffer-">prepareBuffer</a></span>(byte cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> |
| <div class="block">Prepare a new "clean" buffer while reserving the needed space |
| (5 bytes) for the packet header.</div> |
| </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>protected abstract boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#readIdentification-org.apache.sshd.common.util.buffer.Buffer-">readIdentification</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> |
| <div class="block">Read the other side identification.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#receiveKexInit-org.apache.sshd.common.util.buffer.Buffer-">receiveKexInit</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#receiveKexInit-org.apache.sshd.common.util.buffer.Buffer-java.util.Map-">receiveKexInit</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal)</code> |
| <div class="block">Receive the remote key exchange init message.</div> |
| </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#receiveKexInit-java.util.Map-byte:A-">receiveKexInit</a></span>(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal, |
| byte[] seed)</code> </td> |
| </tr> |
| <tr id="i78" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#receiveNewKeys--">receiveNewKeys</a></span>()</code> |
| <div class="block">Put new keys into use.</div> |
| </td> |
| </tr> |
| <tr id="i79" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/future/KeyExchangeFuture.html" title="interface in org.apache.sshd.common.future">KeyExchangeFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#reExchangeKeys--">reExchangeKeys</a></span>()</code> |
| <div class="block">Initiate a new key exchange.</div> |
| </td> |
| </tr> |
| <tr id="i80" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#refreshConfiguration--">refreshConfiguration</a></span>()</code> |
| <div class="block">Refresh whatever internal configuration is not <code>final</code></div> |
| </td> |
| </tr> |
| <tr id="i81" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#removeChannelListener-org.apache.sshd.common.channel.ChannelListener-">removeChannelListener</a></span>(<a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a> listener)</code> |
| <div class="block">Remove a channel listener</div> |
| </td> |
| </tr> |
| <tr id="i82" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#removeSessionListener-org.apache.sshd.common.session.SessionListener-">removeSessionListener</a></span>(<a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a> listener)</code> |
| <div class="block">Remove a session listener.</div> |
| </td> |
| </tr> |
| <tr id="i83" 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/common/session/AbstractSession.html#request-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-">request</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| long timeout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> |
| <div class="block">Send a global request and wait for the response.</div> |
| </td> |
| </tr> |
| <tr id="i84" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#requestFailure-org.apache.sshd.common.util.buffer.Buffer-">requestFailure</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i85" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#requestNewKeysExchange--">requestNewKeysExchange</a></span>()</code> </td> |
| </tr> |
| <tr id="i86" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#requestSuccess-org.apache.sshd.common.util.buffer.Buffer-">requestSuccess</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> </td> |
| </tr> |
| <tr id="i87" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#resetIdleTimeout--">resetIdleTimeout</a></span>()</code> </td> |
| </tr> |
| <tr id="i88" class="altColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#resizeKey-byte:A-int-org.apache.sshd.common.digest.Digest-byte:A-byte:A-">resizeKey</a></span>(byte[] e, |
| int blockSize, |
| <a href="../../../../../org/apache/sshd/common/digest/Digest.html" title="interface in org.apache.sshd.common.digest">Digest</a> hash, |
| byte[] k, |
| byte[] h)</code> |
| <div class="block">Method used while putting new keys into use that will resize the key used to |
| initialize the cipher to the needed length.</div> |
| </td> |
| </tr> |
| <tr id="i89" class="rowColor"> |
| <td class="colFirst"><code>protected <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#resolveAvailableSignaturesProposal--">resolveAvailableSignaturesProposal</a></span>()</code> </td> |
| </tr> |
| <tr id="i90" class="altColor"> |
| <td class="colFirst"><code>protected abstract <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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#resolveAvailableSignaturesProposal-org.apache.sshd.common.FactoryManager-">resolveAvailableSignaturesProposal</a></span>(<a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a> manager)</code> </td> |
| </tr> |
| <tr id="i91" class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#resolveIgnoreBufferDataLength--">resolveIgnoreBufferDataLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i92" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sendIdentification-java.lang.String-">sendIdentification</a></span>(<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> ident)</code> |
| <div class="block">Send our identification.</div> |
| </td> |
| </tr> |
| <tr id="i93" class="rowColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sendKexInit--">sendKexInit</a></span>()</code> </td> |
| </tr> |
| <tr id="i94" class="altColor"> |
| <td class="colFirst"><code>protected byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sendKexInit-java.util.Map-">sendKexInit</a></span>(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal)</code> |
| <div class="block">Send the key exchange initialization packet.</div> |
| </td> |
| </tr> |
| <tr id="i95" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sendNewKeys--">sendNewKeys</a></span>()</code> |
| <div class="block">Send a message to put new keys into use.</div> |
| </td> |
| </tr> |
| <tr id="i96" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#sendSessionEvent-org.apache.sshd.common.session.SessionListener.Event-">sendSessionEvent</a></span>(<a href="../../../../../org/apache/sshd/common/session/SessionListener.Event.html" title="enum in org.apache.sshd.common.session">SessionListener.Event</a> event)</code> </td> |
| </tr> |
| <tr id="i97" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#serviceAccept--">serviceAccept</a></span>()</code> </td> |
| </tr> |
| <tr id="i98" class="altColor"> |
| <td class="colFirst"><code><T,E extends T><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#setAttribute-org.apache.sshd.common.session.Session.AttributeKey-E-">setAttribute</a></span>(<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><T> key, |
| E value)</code> |
| <div class="block">Sets a user-defined attribute.</div> |
| </td> |
| </tr> |
| <tr id="i99" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#setAuthenticated--">setAuthenticated</a></span>()</code> </td> |
| </tr> |
| <tr id="i100" class="altColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#setKexSeed-byte...-">setKexSeed</a></span>(byte... seed)</code> </td> |
| </tr> |
| <tr id="i101" class="rowColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#setNegotiationResult-java.util.Map-">setNegotiationResult</a></span>(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> guess)</code> </td> |
| </tr> |
| <tr id="i102" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#setUsername-java.lang.String-">setUsername</a></span>(<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> username)</code> </td> |
| </tr> |
| <tr id="i103" class="rowColor"> |
| <td class="colFirst"><code><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></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| <tr id="i104" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#validateKexState-int-org.apache.sshd.common.kex.KexState-">validateKexState</a></span>(int cmd, |
| <a href="../../../../../org/apache/sshd/common/kex/KexState.html" title="enum in org.apache.sshd.common.kex">KexState</a> expected)</code> </td> |
| </tr> |
| <tr id="i105" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io">IoWriteFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#writePacket-org.apache.sshd.common.util.buffer.Buffer-">writePacket</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</code> |
| <div class="block">Encode and send the given buffer.</div> |
| </td> |
| </tr> |
| <tr id="i106" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io">IoWriteFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#writePacket-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-">writePacket</a></span>(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| long timeout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> |
| <div class="block">Encode and send the given buffer with the specified timeout.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.kex.AbstractKexFactoryManager"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.sshd.common.kex.<a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html" title="class in org.apache.sshd.common.kex">AbstractKexFactoryManager</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getCipherFactories--">getCipherFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getCompressionFactories--">getCompressionFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getKeyExchangeFactories--">getKeyExchangeFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getKeyPairProvider--">getKeyPairProvider</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getMacFactories--">getMacFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getSignatureFactories--">getSignatureFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#resolveEffectiveFactories-java.lang.Class-java.util.List-java.util.List-">resolveEffectiveFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#resolveEffectiveProvider-java.lang.Class-V-V-">resolveEffectiveProvider</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setCipherFactories-java.util.List-">setCipherFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setCompressionFactories-java.util.List-">setCompressionFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setKeyExchangeFactories-java.util.List-">setKeyExchangeFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setKeyPairProvider-org.apache.sshd.common.keyprovider.KeyPairProvider-">setKeyPairProvider</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setMacFactories-java.util.List-">setMacFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setSignatureFactories-java.util.List-">setSignatureFactories</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractInnerCloseable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.sshd.common.util.closeable.<a href="../../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractInnerCloseable</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html#doCloseGracefully--">doCloseGracefully</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html#doCloseImmediately--">doCloseImmediately</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.sshd.common.util.closeable.<a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#builder--">builder</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#close-boolean-">close</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#isClosed--">isClosed</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#isClosing--">isClosing</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.util.closeable.IoBaseCloseable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.sshd.common.util.closeable.<a href="../../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html" title="class in org.apache.sshd.common.util.closeable">IoBaseCloseable</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html#close--">close</a>, <a href="../../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html#isOpen--">isOpen</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 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#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.Session"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.sshd.common.session.<a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/session/Session.html#startService-java.lang.String-">startService</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.kex.KexFactoryManager"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.sshd.common.kex.<a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html" title="interface in org.apache.sshd.common.kex">KexFactoryManager</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getCipherFactories--">getCipherFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getCompressionFactories--">getCompressionFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getKeyExchangeFactories--">getKeyExchangeFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getMacFactories--">getMacFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setCipherFactories-java.util.List-">setCipherFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setCompressionFactories-java.util.List-">setCompressionFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setKeyExchangeFactories-java.util.List-">setKeyExchangeFactories</a>, <a href="../../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setMacFactories-java.util.List-">setMacFactories</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.keyprovider.KeyPairProviderHolder"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.sshd.common.keyprovider.<a href="../../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html#getKeyPairProvider--">getKeyPairProvider</a>, <a href="../../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html#setKeyPairProvider-org.apache.sshd.common.keyprovider.KeyPairProvider-">setKeyPairProvider</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.signature.SignatureFactoriesManager"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.sshd.common.signature.<a href="../../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html" title="interface in org.apache.sshd.common.signature">SignatureFactoriesManager</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html#getSignatureFactories--">getSignatureFactories</a>, <a href="../../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html#setSignatureFactories-java.util.List-">setSignatureFactories</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.Closeable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.sshd.common.<a href="../../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a></h3> |
| <code><a href="../../../../../org/apache/sshd/common/Closeable.html#close-boolean-">close</a>, <a href="../../../../../org/apache/sshd/common/Closeable.html#isClosed--">isClosed</a>, <a href="../../../../../org/apache/sshd/common/Closeable.html#isClosing--">isClosing</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.nio.channels.Channel"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.nio.channels.<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></h3> |
| <code><a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true#close--" title="class or interface in java.nio.channels">close</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true#isOpen--" title="class or interface in java.nio.channels">isOpen</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="SESSION"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SESSION</h4> |
| <pre>public static final <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> SESSION</pre> |
| <div class="block">Name of the property where this session is stored in the attributes of the |
| underlying MINA session. See <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getSession-org.apache.sshd.common.io.IoSession-boolean-"><code>getSession(IoSession, boolean)</code></a> |
| and <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#attachSession-org.apache.sshd.common.io.IoSession-org.apache.sshd.common.session.AbstractSession-"><code>attachSession(IoSession, AbstractSession)</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.sshd.common.session.AbstractSession.SESSION">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isServer"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isServer</h4> |
| <pre>protected final boolean isServer</pre> |
| <div class="block">Client or server side</div> |
| </li> |
| </ul> |
| <a name="ioSession"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ioSession</h4> |
| <pre>protected final <a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession</pre> |
| <div class="block">The underlying MINA session</div> |
| </li> |
| </ul> |
| <a name="random"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>random</h4> |
| <pre>protected final <a href="../../../../../org/apache/sshd/common/random/Random.html" title="interface in org.apache.sshd.common.random">Random</a> random</pre> |
| <div class="block">The pseudo random generator</div> |
| </li> |
| </ul> |
| <a name="authed"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>authed</h4> |
| <pre>protected boolean authed</pre> |
| <div class="block">Boolean indicating if this session has been authenticated or not</div> |
| </li> |
| </ul> |
| <a name="username"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>username</h4> |
| <pre>protected <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> username</pre> |
| <div class="block">The name of the authenticated user</div> |
| </li> |
| </ul> |
| <a name="sessionListeners"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sessionListeners</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a>> sessionListeners</pre> |
| <div class="block">Session listeners container</div> |
| </li> |
| </ul> |
| <a name="sessionListenerProxy"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sessionListenerProxy</h4> |
| <pre>protected final <a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a> sessionListenerProxy</pre> |
| </li> |
| </ul> |
| <a name="channelListeners"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>channelListeners</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a>> channelListeners</pre> |
| <div class="block">Channel events listener</div> |
| </li> |
| </ul> |
| <a name="channelListenerProxy"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>channelListenerProxy</h4> |
| <pre>protected final <a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a> channelListenerProxy</pre> |
| </li> |
| </ul> |
| <a name="sessionId"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sessionId</h4> |
| <pre>protected byte[] sessionId</pre> |
| </li> |
| </ul> |
| <a name="serverVersion"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serverVersion</h4> |
| <pre>protected <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> serverVersion</pre> |
| </li> |
| </ul> |
| <a name="clientVersion"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clientVersion</h4> |
| <pre>protected <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> clientVersion</pre> |
| </li> |
| </ul> |
| <a name="serverProposal"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serverProposal</h4> |
| <pre>protected final <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> serverProposal</pre> |
| </li> |
| </ul> |
| <a name="clientProposal"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clientProposal</h4> |
| <pre>protected final <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> clientProposal</pre> |
| </li> |
| </ul> |
| <a name="negotiationResult"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>negotiationResult</h4> |
| <pre>protected final <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> negotiationResult</pre> |
| </li> |
| </ul> |
| <a name="i_c"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>i_c</h4> |
| <pre>protected byte[] i_c</pre> |
| </li> |
| </ul> |
| <a name="i_s"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>i_s</h4> |
| <pre>protected byte[] i_s</pre> |
| </li> |
| </ul> |
| <a name="kex"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>kex</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a> kex</pre> |
| </li> |
| </ul> |
| <a name="firstKexPacketFollows"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>firstKexPacketFollows</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> firstKexPacketFollows</pre> |
| </li> |
| </ul> |
| <a name="kexState"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>kexState</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="../../../../../org/apache/sshd/common/kex/KexState.html" title="enum in org.apache.sshd.common.kex">KexState</a>> kexState</pre> |
| </li> |
| </ul> |
| <a name="kexFutureHolder"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>kexFutureHolder</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="../../../../../org/apache/sshd/common/future/DefaultKeyExchangeFuture.html" title="class in org.apache.sshd.common.future">DefaultKeyExchangeFuture</a>> kexFutureHolder</pre> |
| </li> |
| </ul> |
| <a name="outCipher"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outCipher</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/cipher/Cipher.html" title="interface in org.apache.sshd.common.cipher">Cipher</a> outCipher</pre> |
| </li> |
| </ul> |
| <a name="inCipher"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inCipher</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/cipher/Cipher.html" title="interface in org.apache.sshd.common.cipher">Cipher</a> inCipher</pre> |
| </li> |
| </ul> |
| <a name="outCipherSize"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outCipherSize</h4> |
| <pre>protected int outCipherSize</pre> |
| </li> |
| </ul> |
| <a name="inCipherSize"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inCipherSize</h4> |
| <pre>protected int inCipherSize</pre> |
| </li> |
| </ul> |
| <a name="outMac"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outMac</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/mac/Mac.html" title="interface in org.apache.sshd.common.mac">Mac</a> outMac</pre> |
| </li> |
| </ul> |
| <a name="inMac"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inMac</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/mac/Mac.html" title="interface in org.apache.sshd.common.mac">Mac</a> inMac</pre> |
| </li> |
| </ul> |
| <a name="inMacResult"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inMacResult</h4> |
| <pre>protected byte[] inMacResult</pre> |
| </li> |
| </ul> |
| <a name="outCompression"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outCompression</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/compression/Compression.html" title="interface in org.apache.sshd.common.compression">Compression</a> outCompression</pre> |
| </li> |
| </ul> |
| <a name="inCompression"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inCompression</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/compression/Compression.html" title="interface in org.apache.sshd.common.compression">Compression</a> inCompression</pre> |
| </li> |
| </ul> |
| <a name="seqi"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>seqi</h4> |
| <pre>protected long seqi</pre> |
| </li> |
| </ul> |
| <a name="seqo"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>seqo</h4> |
| <pre>protected long seqo</pre> |
| </li> |
| </ul> |
| <a name="decoderBuffer"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decoderBuffer</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> decoderBuffer</pre> |
| </li> |
| </ul> |
| <a name="uncompressBuffer"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>uncompressBuffer</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> uncompressBuffer</pre> |
| </li> |
| </ul> |
| <a name="decoderState"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decoderState</h4> |
| <pre>protected int decoderState</pre> |
| </li> |
| </ul> |
| <a name="decoderLength"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decoderLength</h4> |
| <pre>protected int decoderLength</pre> |
| </li> |
| </ul> |
| <a name="encodeLock"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>encodeLock</h4> |
| <pre>protected final <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> encodeLock</pre> |
| </li> |
| </ul> |
| <a name="decodeLock"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decodeLock</h4> |
| <pre>protected final <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> decodeLock</pre> |
| </li> |
| </ul> |
| <a name="requestLock"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requestLock</h4> |
| <pre>protected final <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> requestLock</pre> |
| </li> |
| </ul> |
| <a name="attributes"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>attributes</h4> |
| <pre>protected final <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><<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><?>,<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>> attributes</pre> |
| </li> |
| </ul> |
| <a name="authTimeoutStart"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>authTimeoutStart</h4> |
| <pre>protected long authTimeoutStart</pre> |
| </li> |
| </ul> |
| <a name="idleTimeoutStart"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>idleTimeoutStart</h4> |
| <pre>protected long idleTimeoutStart</pre> |
| </li> |
| </ul> |
| <a name="timeoutStatus"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>timeoutStatus</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a>> timeoutStatus</pre> |
| </li> |
| </ul> |
| <a name="inPacketsCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inPacketsCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> inPacketsCount</pre> |
| </li> |
| </ul> |
| <a name="outPacketsCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outPacketsCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> outPacketsCount</pre> |
| </li> |
| </ul> |
| <a name="inBytesCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inBytesCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> inBytesCount</pre> |
| </li> |
| </ul> |
| <a name="outBytesCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outBytesCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> outBytesCount</pre> |
| </li> |
| </ul> |
| <a name="inBlocksCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inBlocksCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> inBlocksCount</pre> |
| </li> |
| </ul> |
| <a name="outBlocksCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outBlocksCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> outBlocksCount</pre> |
| </li> |
| </ul> |
| <a name="lastKeyTimeValue"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lastKeyTimeValue</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> lastKeyTimeValue</pre> |
| </li> |
| </ul> |
| <a name="maxRekyPackets"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxRekyPackets</h4> |
| <pre>protected long maxRekyPackets</pre> |
| </li> |
| </ul> |
| <a name="maxRekeyBytes"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxRekeyBytes</h4> |
| <pre>protected long maxRekeyBytes</pre> |
| </li> |
| </ul> |
| <a name="maxRekeyInterval"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxRekeyInterval</h4> |
| <pre>protected long maxRekeyInterval</pre> |
| </li> |
| </ul> |
| <a name="pendingPackets"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pendingPackets</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Queue.html?is-external=true" title="class or interface in java.util">Queue</a><<a href="../../../../../org/apache/sshd/common/session/PendingWriteFuture.html" title="class in org.apache.sshd.common.session">PendingWriteFuture</a>> pendingPackets</pre> |
| </li> |
| </ul> |
| <a name="currentService"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>currentService</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common">Service</a> currentService</pre> |
| </li> |
| </ul> |
| <a name="ignorePacketDataLength"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ignorePacketDataLength</h4> |
| <pre>protected int ignorePacketDataLength</pre> |
| </li> |
| </ul> |
| <a name="ignorePacketsFrequency"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ignorePacketsFrequency</h4> |
| <pre>protected long ignorePacketsFrequency</pre> |
| </li> |
| </ul> |
| <a name="ignorePacketsVariance"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ignorePacketsVariance</h4> |
| <pre>protected int ignorePacketsVariance</pre> |
| </li> |
| </ul> |
| <a name="maxRekeyBlocks"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>maxRekeyBlocks</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> maxRekeyBlocks</pre> |
| </li> |
| </ul> |
| <a name="ignorePacketsCount"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ignorePacketsCount</h4> |
| <pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</a> ignorePacketsCount</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AbstractSession-boolean-org.apache.sshd.common.FactoryManager-org.apache.sshd.common.io.IoSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractSession</h4> |
| <pre>protected AbstractSession(boolean isServer, |
| <a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a> factoryManager, |
| <a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession)</pre> |
| <div class="block">Create a new session.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>isServer</code> - <code>true</code> if this is a server session, <code>false</code> if client one</dd> |
| <dd><code>factoryManager</code> - the factory manager</dd> |
| <dd><code>ioSession</code> - the underlying MINA session</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="getSession-org.apache.sshd.common.io.IoSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSession</h4> |
| <pre>public static <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a> getSession(<a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession)</pre> |
| <div class="block">Retrieve the session from the MINA session. |
| If the session has not been attached, an IllegalStateException |
| will be thrown</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ioSession</code> - the MINA session</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the session attached to the MINA session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSession-org.apache.sshd.common.io.IoSession-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSession</h4> |
| <pre>public static <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a> getSession(<a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession, |
| boolean allowNull)</pre> |
| <div class="block">Retrieve the session from the MINA session. |
| If the session has not been attached and allowNull is <code>false</code>, |
| an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang"><code>IllegalStateException</code></a> will be thrown, else a <code>null</code> will |
| be returned</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ioSession</code> - the MINA session</dd> |
| <dd><code>allowNull</code> - if <code>true</code>, a <code>null</code> value may be |
| returned if no session is attached</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the session attached to the MINA session or <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="attachSession-org.apache.sshd.common.io.IoSession-org.apache.sshd.common.session.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>attachSession</h4> |
| <pre>public static void attachSession(<a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession, |
| <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a> session)</pre> |
| <div class="block">Attach a session to the MINA session</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ioSession</code> - the MINA session</dd> |
| <dd><code>session</code> - the session to attach</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getServerVersion--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServerVersion</h4> |
| <pre>public <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> getServerVersion()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getServerVersion--">Session</a></code></span></div> |
| <div class="block">Retrieve the server version for this session.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getServerVersion--">getServerVersion</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the server version.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientVersion--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientVersion</h4> |
| <pre>public <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> getClientVersion()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getClientVersion--">Session</a></code></span></div> |
| <div class="block">Retrieve the client version for this session.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getClientVersion--">getClientVersion</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the client version.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKex--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKex</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/kex/KeyExchange.html" title="interface in org.apache.sshd.common.kex">KeyExchange</a> getKex()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getKex--">getKex</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSessionId--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionId</h4> |
| <pre>public byte[] getSessionId()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getSessionId--">getSessionId</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIoSession--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIoSession</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> getIoSession()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getIoSession--">getIoSession</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io"><code>IoSession</code></a> associated to this session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFactoryManager--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFactoryManager</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a> getFactoryManager()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getFactoryManager--">getFactoryManager</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common"><code>FactoryManager</code></a> that has created this session, can not be <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getParentPropertyResolver--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParentPropertyResolver</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a> getParentPropertyResolver()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/PropertyResolver.html#getParentPropertyResolver--">getParentPropertyResolver</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The parent resolver that can be used to query for missing |
| properties - <code>null</code> if no parent</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProperties--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProperties</h4> |
| <pre>public <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><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> getProperties()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/PropertyResolver.html#getProperties--">PropertyResolver</a></code></span></div> |
| <div class="block"><P>A map of properties that can be used to configure the SSH server |
| or client. This map will never be changed by either the server or |
| client and is not supposed to be changed at runtime (changes are not |
| bound to have any effect on a running client or server), though it may |
| affect the creation of sessions later as these values are usually not |
| cached.</P> |
| |
| <P><B>Note:</B> the <U>type</U> of the mapped property should match the |
| expected configuration value type - <code>Long, Integer, Boolean, |
| String</code>, etc.... If it doesn't, the <code>toString()</code> result of the |
| mapped value is used to convert it to the required type. E.g., if |
| the mapped value is the <U>string</U> "1234" and the expected |
| value is a <code>long</code> then it will be parsed into one. Also, if |
| the mapped value is an <code>Integer</code> but a <code>long</code> is expected, |
| then it will be converted into one.</P></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/PropertyResolver.html#getProperties--">getProperties</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a valid <code>Map</code> containing configuration values, never <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getNegotiatedKexParameter-org.apache.sshd.common.kex.KexProposalOption-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNegotiatedKexParameter</h4> |
| <pre>public <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> getNegotiatedKexParameter(<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a> paramType)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getNegotiatedKexParameter-org.apache.sshd.common.kex.KexProposalOption-">Session</a></code></span></div> |
| <div class="block">Retrieve one of the negotiated values during the KEX stage</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getNegotiatedKexParameter-org.apache.sshd.common.kex.KexProposalOption-">getNegotiatedKexParameter</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>paramType</code> - The request <a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex"><code>KexProposalOption</code></a> value - ignored |
| if <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The negotiated parameter value - <code>null</code> if invalid |
| parameter or no negotiated value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCipherInformation-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCipherInformation</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/cipher/CipherInformation.html" title="interface in org.apache.sshd.common.cipher">CipherInformation</a> getCipherInformation(boolean incoming)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getCipherInformation-boolean-">Session</a></code></span></div> |
| <div class="block">Retrieves current cipher information - <B>Note:</B> may change if |
| key re-exchange executed</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getCipherInformation-boolean-">getCipherInformation</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>incoming</code> - If <code>true</code> then the cipher for the incoming data, |
| otherwise for the outgoing data</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../../org/apache/sshd/common/cipher/CipherInformation.html" title="interface in org.apache.sshd.common.cipher"><code>CipherInformation</code></a> - or <code>null</code> if not negotiated yet.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCompressionInformation-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCompressionInformation</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/compression/CompressionInformation.html" title="interface in org.apache.sshd.common.compression">CompressionInformation</a> getCompressionInformation(boolean incoming)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getCompressionInformation-boolean-">Session</a></code></span></div> |
| <div class="block">Retrieves current compression information - <B>Note:</B> may change if |
| key re-exchange executed</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getCompressionInformation-boolean-">getCompressionInformation</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>incoming</code> - If <code>true</code> then the compression for the incoming data, |
| otherwise for the outgoing data</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../../org/apache/sshd/common/compression/CompressionInformation.html" title="interface in org.apache.sshd.common.compression"><code>CompressionInformation</code></a> - or <code>null</code> if not negotiated yet.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMacInformation-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMacInformation</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/mac/MacInformation.html" title="interface in org.apache.sshd.common.mac">MacInformation</a> getMacInformation(boolean incoming)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getMacInformation-boolean-">Session</a></code></span></div> |
| <div class="block">Retrieves current MAC information - <B>Note:</B> may change if |
| key re-exchange executed</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getMacInformation-boolean-">getMacInformation</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>incoming</code> - If <code>true</code> then the MAC for the incoming data, |
| otherwise for the outgoing data</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../../org/apache/sshd/common/mac/MacInformation.html" title="interface in org.apache.sshd.common.mac"><code>MacInformation</code></a> - or <code>null</code> if not negotiated yet.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isAuthenticated--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAuthenticated</h4> |
| <pre>public boolean isAuthenticated()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#isAuthenticated--">isAuthenticated</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAuthenticated--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAuthenticated</h4> |
| <pre>public void setAuthenticated() |
| 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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#setAuthenticated--">setAuthenticated</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></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></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="messageReceived-org.apache.sshd.common.util.Readable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>messageReceived</h4> |
| <pre>public void messageReceived(<a href="../../../../../org/apache/sshd/common/util/Readable.html" title="interface in org.apache.sshd.common.util">Readable</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block"><P>Main input point for the MINA framework.</P> |
| |
| <P> |
| This method will be called each time new data is received on |
| the socket and will append it to the input buffer before |
| calling the <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#decode--"><code>decode()</code></a> method. |
| </P></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the new buffer received</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an error occurs while decoding or handling the data</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="refreshConfiguration--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>refreshConfiguration</h4> |
| <pre>protected void refreshConfiguration()</pre> |
| <div class="block">Refresh whatever internal configuration is not <code>final</code></div> |
| </li> |
| </ul> |
| <a name="handleMessage-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleMessage</h4> |
| <pre>protected void handleMessage(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Abstract method for processing incoming decoded packets. |
| The given buffer will hold the decoded packet, starting from |
| the command byte at the read position. |
| Packets must be processed within this call or be copied because |
| the given buffer is meant to be changed and updated when this |
| method returns.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer containing the packet</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an exception occurs while handling this packet.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#doHandleMessage-org.apache.sshd.common.util.buffer.Buffer-"><code>doHandleMessage(Buffer)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="doHandleMessage-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doHandleMessage</h4> |
| <pre>protected void doHandleMessage(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleFirstKexPacketFollows-int-org.apache.sshd.common.util.buffer.Buffer-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleFirstKexPacketFollows</h4> |
| <pre>protected boolean handleFirstKexPacketFollows(int cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| boolean followFlag)</pre> |
| </li> |
| </ul> |
| <a name="comparePreferredKexProposalOption-org.apache.sshd.common.kex.KexProposalOption-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>comparePreferredKexProposalOption</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util">Pair</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> comparePreferredKexProposalOption(<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a> option)</pre> |
| </li> |
| </ul> |
| <a name="handleKexMessage-int-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleKexMessage</h4> |
| <pre>protected void handleKexMessage(int cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleIgnore-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleIgnore</h4> |
| <pre>protected void handleIgnore(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleIgnore-byte:A-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleIgnore</h4> |
| <pre>protected void handleIgnore(byte[] data, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleUnimplemented-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleUnimplemented</h4> |
| <pre>protected void handleUnimplemented(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleUnimplemented-int-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleUnimplemented</h4> |
| <pre>protected void handleUnimplemented(int seqNo, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleDebug-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleDebug</h4> |
| <pre>protected void handleDebug(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleDebug-boolean-java.lang.String-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleDebug</h4> |
| <pre>protected void handleDebug(boolean display, |
| <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> msg, |
| <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> lang, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleDisconnect-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleDisconnect</h4> |
| <pre>protected void handleDisconnect(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleDisconnect-int-java.lang.String-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleDisconnect</h4> |
| <pre>protected void handleDisconnect(int code, |
| <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> msg, |
| <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> lang, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleServiceRequest-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleServiceRequest</h4> |
| <pre>protected void handleServiceRequest(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleServiceRequest-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleServiceRequest</h4> |
| <pre>protected void handleServiceRequest(<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> serviceName, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleServiceAccept-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleServiceAccept</h4> |
| <pre>protected void handleServiceAccept(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleServiceAccept-java.lang.String-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleServiceAccept</h4> |
| <pre>protected void handleServiceAccept(<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> serviceName, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleKexInit-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleKexInit</h4> |
| <pre>protected void handleKexInit(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleNewKeys-int-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleNewKeys</h4> |
| <pre>protected void handleNewKeys(int cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="validateKexState-int-org.apache.sshd.common.kex.KexState-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validateKexState</h4> |
| <pre>protected void validateKexState(int cmd, |
| <a href="../../../../../org/apache/sshd/common/kex/KexState.html" title="enum in org.apache.sshd.common.kex">KexState</a> expected)</pre> |
| </li> |
| </ul> |
| <a name="exceptionCaught-java.lang.Throwable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exceptionCaught</h4> |
| <pre>public void exceptionCaught(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> |
| <div class="block">Handle any exceptions that occurred on this session. |
| The session will be closed and a disconnect packet will be |
| sent before if the given exception is an <a href="../../../../../org/apache/sshd/common/SshException.html" title="class in org.apache.sshd.common"><code>SshException</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#exceptionCaught-java.lang.Throwable-">exceptionCaught</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>t</code> - the exception to process</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getInnerCloseable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInnerCloseable</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a> getInnerCloseable()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html#getInnerCloseable--">getInnerCloseable</a></code> in class <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractInnerCloseable</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="preClose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>preClose</h4> |
| <pre>protected void preClose()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#preClose--">AbstractCloseable</a></code></span></div> |
| <div class="block">preClose is guaranteed to be called before doCloseGracefully or doCloseImmediately. |
| When preClose() is called, isClosing() == true</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#preClose--">preClose</a></code> in class <code><a href="../../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getServices--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServices</h4> |
| <pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common">Service</a>> getServices()</pre> |
| </li> |
| </ul> |
| <a name="getService-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getService</h4> |
| <pre>public <T extends <a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common">Service</a>> T getService(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getService-java.lang.Class-">Session</a></code></span></div> |
| <div class="block">Get the service of the specified type. |
| If the service is not of the specified class, |
| an IllegalStateException will be thrown.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getService-java.lang.Class-">getService</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The generic <a href="../../../../../org/apache/sshd/common/Service.html" title="interface in org.apache.sshd.common"><code>Service</code></a> type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>clazz</code> - The service class</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The service instance</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writePacket-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writePacket</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io">IoWriteFuture</a> writePacket(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> 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> |
| <div class="block">Encode and send the given buffer. |
| The buffer has to have 5 bytes free at the beginning to allow the encoding to take place. |
| Also, the write position of the buffer has to be set to the position of the last byte to write.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#writePacket-org.apache.sshd.common.util.buffer.Buffer-">writePacket</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer to encode and send</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a future that can be used to check when the packet has actually been sent</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 an error occurred when encoding sending the packet</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writePacket-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writePacket</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io">IoWriteFuture</a> writePacket(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| long timeout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit) |
| 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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#writePacket-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-">Session</a></code></span></div> |
| <div class="block">Encode and send the given buffer with the specified timeout. |
| If the buffer could not be written before the timeout elapses, the returned |
| <a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io"><code>IoWriteFuture</code></a> will be set with a |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent"><code>TimeoutException</code></a> exception to indicate a timeout.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#writePacket-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-">writePacket</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer to encode and spend</dd> |
| <dd><code>timeout</code> - the timeout</dd> |
| <dd><code>unit</code> - the time unit of the timeout parameter</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a future that can be used to check when the packet has actually been sent</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 an error occurred when encoding sending the packet</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="doWritePacket-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doWritePacket</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/io/IoWriteFuture.html" title="interface in org.apache.sshd.common.io">IoWriteFuture</a> doWritePacket(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> 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="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="resolveIgnoreBufferDataLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveIgnoreBufferDataLength</h4> |
| <pre>protected int resolveIgnoreBufferDataLength()</pre> |
| </li> |
| </ul> |
| <a name="calculateNextIgnorePacketCount-org.apache.sshd.common.random.Random-long-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>calculateNextIgnorePacketCount</h4> |
| <pre>protected long calculateNextIgnorePacketCount(<a href="../../../../../org/apache/sshd/common/random/Random.html" title="interface in org.apache.sshd.common.random">Random</a> r, |
| long freq, |
| int variance)</pre> |
| </li> |
| </ul> |
| <a name="request-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>request</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> request(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| long timeout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit) |
| 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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#request-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-">Session</a></code></span></div> |
| <div class="block">Send a global request and wait for the response. This must only be used when sending |
| a <code>SSH_MSG_GLOBAL_REQUEST</code> with a result expected, else it will time out</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#request-org.apache.sshd.common.util.buffer.Buffer-long-java.util.concurrent.TimeUnit-">request</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer containing the global request</dd> |
| <dd><code>timeout</code> - The number of time units to wait - must be <U>positive</U></dd> |
| <dd><code>unit</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent"><code>TimeUnit</code></a> to wait for the response</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the return buffer if the request was successful, <code>null</code> otherwise.</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 an error occurred when encoding sending the packet</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createBuffer-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBuffer</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> createBuffer(byte cmd)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#createBuffer-byte-">Session</a></code></span></div> |
| <div class="block">Create a new buffer for the specified SSH packet and reserve the needed space |
| (5 bytes) for the packet header.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#createBuffer-byte-">createBuffer</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cmd</code> - the SSH command</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new buffer ready for write</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createBuffer-byte-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createBuffer</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> createBuffer(byte cmd, |
| int len)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#createBuffer-byte-int-">Session</a></code></span></div> |
| <div class="block">Create a new buffer for the specified SSH packet and reserve the needed space |
| (5 bytes) for the packet header.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#createBuffer-byte-int-">createBuffer</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cmd</code> - The SSH command to initialize the buffer with</dd> |
| <dd><code>len</code> - Estimated number of bytes the buffer will hold, 0 if unknown.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new buffer ready for write</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/sshd/common/session/Session.html#prepareBuffer-byte-org.apache.sshd.common.util.buffer.Buffer-"><code>Session.prepareBuffer(byte, Buffer)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="prepareBuffer-byte-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>prepareBuffer</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> prepareBuffer(byte cmd, |
| <a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#prepareBuffer-byte-org.apache.sshd.common.util.buffer.Buffer-">Session</a></code></span></div> |
| <div class="block">Prepare a new "clean" buffer while reserving the needed space |
| (5 bytes) for the packet header.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#prepareBuffer-byte-org.apache.sshd.common.util.buffer.Buffer-">prepareBuffer</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cmd</code> - The SSH command to initialize the buffer with</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> instance to initialize</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The initialized buffer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="encode-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>encode</h4> |
| <pre>protected void encode(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> 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> |
| <div class="block">Encode a buffer into the SSH protocol. |
| This method need to be called into a synchronized block around encodeLock</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer to encode</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 an exception occurs during the encoding process</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="decode--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decode</h4> |
| <pre>protected void decode() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Decode the incoming buffer and handle packets as needed.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - If failed to decode</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sendIdentification-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendIdentification</h4> |
| <pre>protected void sendIdentification(<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> ident)</pre> |
| <div class="block">Send our identification.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ident</code> - our identification to send</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="readIdentification-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readIdentification</h4> |
| <pre>protected abstract boolean readIdentification(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> 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> |
| <div class="block">Read the other side identification. |
| This method is specific to the client or server side, but both should call |
| <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#doReadIdentification-org.apache.sshd.common.util.buffer.Buffer-boolean-"><code>doReadIdentification(Buffer, boolean)</code></a> and |
| store the result in the needed property.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer containing the remote identification</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the identification has been fully read or |
| <code>false</code> if more data is needed</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 an error occurs such as a bad protocol version</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="doReadIdentification-org.apache.sshd.common.util.buffer.Buffer-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doReadIdentification</h4> |
| <pre>protected <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> doReadIdentification(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| boolean server)</pre> |
| <div class="block">Read the remote identification from this buffer. |
| If more data is needed, the buffer will be reset to its original state |
| and a <code>null</code> value will be returned. Else the identification |
| string will be returned and the data read will be consumed from the buffer.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer containing the identification string</dd> |
| <dd><code>server</code> - <code>true</code> if it is called by the server session, |
| <code>false</code> if by the client session</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the remote identification or <code>null</code> if more data is needed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createProposal-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createProposal</h4> |
| <pre>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> createProposal(<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> hostKeyTypes)</pre> |
| <div class="block">Create our proposal for SSH negotiation</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>hostKeyTypes</code> - The comma-separated list of supported host key types</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The proposal <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></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sendKexInit-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendKexInit</h4> |
| <pre>protected byte[] sendKexInit(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal) |
| 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">Send the key exchange initialization packet. |
| This packet contains random data along with our proposal.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>proposal</code> - our proposal for key exchange negotiation</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the sent packet which must be kept for later use</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 an error occurred sending the packet</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="receiveKexInit-org.apache.sshd.common.util.buffer.Buffer-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>receiveKexInit</h4> |
| <pre>protected byte[] receiveKexInit(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer, |
| <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal)</pre> |
| <div class="block">Receive the remote key exchange init message. |
| The packet data is returned for later use.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>buffer</code> - the buffer containing the key exchange init packet</dd> |
| <dd><code>proposal</code> - the remote proposal to fill</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the packet data</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sendNewKeys--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendNewKeys</h4> |
| <pre>protected void sendNewKeys() |
| 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">Send a message to put new keys into use.</div> |
| <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> - if an error occurs sending the message</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="receiveNewKeys--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>receiveNewKeys</h4> |
| <pre>protected void receiveNewKeys() |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Put new keys into use. |
| This method will initialize the ciphers, digests, macs and compression |
| according to the negotiated server and client proposals.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if an error occurs</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="resizeKey-byte:A-int-org.apache.sshd.common.digest.Digest-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resizeKey</h4> |
| <pre>protected byte[] resizeKey(byte[] e, |
| int blockSize, |
| <a href="../../../../../org/apache/sshd/common/digest/Digest.html" title="interface in org.apache.sshd.common.digest">Digest</a> hash, |
| byte[] k, |
| byte[] h) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Method used while putting new keys into use that will resize the key used to |
| initialize the cipher to the needed length.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>e</code> - the key to resize</dd> |
| <dd><code>blockSize</code> - the cipher block size (in bytes)</dd> |
| <dd><code>hash</code> - the hash algorithm</dd> |
| <dd><code>k</code> - the key exchange k parameter</dd> |
| <dd><code>h</code> - the key exchange h parameter</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the resized key</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - if a problem occur while resizing the key</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="disconnect-int-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>disconnect</h4> |
| <pre>public void disconnect(int reason, |
| <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> msg) |
| 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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#disconnect-int-java.lang.String-">Session</a></code></span></div> |
| <div class="block">Send a disconnect packet with the given reason and message. |
| Once the packet has been sent, the session will be closed |
| asynchronously.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#disconnect-int-java.lang.String-">disconnect</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>reason</code> - the reason code for this disconnect</dd> |
| <dd><code>msg</code> - the text message</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 an error occurred sending the packet</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="notImplemented--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notImplemented</h4> |
| <pre>protected void notImplemented() |
| 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">Send an unimplemented packet. This packet should contain the |
| sequence id of the unsupported packet: this number is assumed to |
| be the last packet received.</div> |
| <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> - if an error occurred sending the packet</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="negotiate--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>negotiate</h4> |
| <pre>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> negotiate()</pre> |
| <div class="block">Compute the negotiated proposals by merging the client and |
| server proposal. The negotiated proposal will also be stored in |
| the <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#negotiationResult"><code>negotiationResult</code></a> property.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The negotiated options <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></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setNegotiationResult-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNegotiationResult</h4> |
| <pre>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> setNegotiationResult(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> guess)</pre> |
| </li> |
| </ul> |
| <a name="requestSuccess-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requestSuccess</h4> |
| <pre>protected void requestSuccess(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="requestFailure-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requestFailure</h4> |
| <pre>protected void requestFailure(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> buffer) |
| throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAttribute-org.apache.sshd.common.session.Session.AttributeKey-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAttribute</h4> |
| <pre>public <T> T getAttribute(<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><T> key)</pre> |
| <div class="block">Returns the value of the user-defined attribute of this session.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getAttribute-org.apache.sshd.common.session.Session.AttributeKey-">getAttribute</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The generic attribute type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key of the attribute; must not be null.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><tt>null</tt> if there is no attribute with the specified key</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAttribute-org.apache.sshd.common.session.Session.AttributeKey-java.lang.Object-"> |
| <!-- --> |
| </a><a name="setAttribute-org.apache.sshd.common.session.Session.AttributeKey-E-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAttribute</h4> |
| <pre>public <T,E extends T> T setAttribute(<a href="../../../../../org/apache/sshd/common/session/Session.AttributeKey.html" title="class in org.apache.sshd.common.session">Session.AttributeKey</a><T> key, |
| E value)</pre> |
| <div class="block">Sets a user-defined attribute.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#setAttribute-org.apache.sshd.common.session.Session.AttributeKey-E-">setAttribute</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The generic attribute type</dd> |
| <dd><code>E</code> - The generic value type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key of the attribute; must not be null.</dd> |
| <dd><code>value</code> - the value of the attribute; must not be null.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The old value of the attribute. <tt>null</tt> if it is new.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getUsername--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUsername</h4> |
| <pre>public <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> getUsername()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/auth/UsernameHolder.html#getUsername--">getUsername</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/auth/UsernameHolder.html" title="interface in org.apache.sshd.common.auth">UsernameHolder</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The attached username - may be <code>null</code>/empty if holder |
| not yet initialized</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setUsername-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUsername</h4> |
| <pre>public void setUsername(<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> username)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/auth/MutableUserHolder.html#setUsername-java.lang.String-">setUsername</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/auth/MutableUserHolder.html" title="interface in org.apache.sshd.common.auth">MutableUserHolder</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLock--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLock</h4> |
| <pre>public <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> getLock()</pre> |
| </li> |
| </ul> |
| <a name="addSessionListener-org.apache.sshd.common.session.SessionListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addSessionListener</h4> |
| <pre>public void addSessionListener(<a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html#addSessionListener-org.apache.sshd.common.session.SessionListener-">SessionListenerManager</a></code></span></div> |
| <div class="block">Add a session listener.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html#addSessionListener-org.apache.sshd.common.session.SessionListener-">addSessionListener</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html" title="interface in org.apache.sshd.common.session">SessionListenerManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - The <a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session"><code>SessionListener</code></a> to add - not <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeSessionListener-org.apache.sshd.common.session.SessionListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeSessionListener</h4> |
| <pre>public void removeSessionListener(<a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html#removeSessionListener-org.apache.sshd.common.session.SessionListener-">SessionListenerManager</a></code></span></div> |
| <div class="block">Remove a session listener.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html#removeSessionListener-org.apache.sshd.common.session.SessionListener-">removeSessionListener</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html" title="interface in org.apache.sshd.common.session">SessionListenerManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - The <a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session"><code>SessionListener</code></a> to remove</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSessionListenerProxy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionListenerProxy</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session">SessionListener</a> getSessionListenerProxy()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html#getSessionListenerProxy--">getSessionListenerProxy</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/SessionListenerManager.html" title="interface in org.apache.sshd.common.session">SessionListenerManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A (never <code>null</code> proxy <a href="../../../../../org/apache/sshd/common/session/SessionListener.html" title="interface in org.apache.sshd.common.session"><code>SessionListener</code></a> that represents |
| all the currently registered listeners. Any method invocation on the proxy |
| is replicated to the currently registered listeners</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addChannelListener-org.apache.sshd.common.channel.ChannelListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addChannelListener</h4> |
| <pre>public void addChannelListener(<a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#addChannelListener-org.apache.sshd.common.channel.ChannelListener-">ChannelListenerManager</a></code></span></div> |
| <div class="block">Add a channel listener</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#addChannelListener-org.apache.sshd.common.channel.ChannelListener-">addChannelListener</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html" title="interface in org.apache.sshd.common.channel">ChannelListenerManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - The <a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel"><code>ChannelListener</code></a> to add - not <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeChannelListener-org.apache.sshd.common.channel.ChannelListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeChannelListener</h4> |
| <pre>public void removeChannelListener(<a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#removeChannelListener-org.apache.sshd.common.channel.ChannelListener-">ChannelListenerManager</a></code></span></div> |
| <div class="block">Remove a channel listener</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#removeChannelListener-org.apache.sshd.common.channel.ChannelListener-">removeChannelListener</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html" title="interface in org.apache.sshd.common.channel">ChannelListenerManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - The <a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel"><code>ChannelListener</code></a> to remove</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getChannelListenerProxy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChannelListenerProxy</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel">ChannelListener</a> getChannelListenerProxy()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#getChannelListenerProxy--">getChannelListenerProxy</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/channel/ChannelListenerManager.html" title="interface in org.apache.sshd.common.channel">ChannelListenerManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A (never <code>null</code> proxy <a href="../../../../../org/apache/sshd/common/channel/ChannelListener.html" title="interface in org.apache.sshd.common.channel"><code>ChannelListener</code></a> that represents |
| all the currently registered listeners. Any method invocation on the proxy |
| is replicated to the currently registered listeners</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="sendSessionEvent-org.apache.sshd.common.session.SessionListener.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendSessionEvent</h4> |
| <pre>protected void sendSessionEvent(<a href="../../../../../org/apache/sshd/common/session/SessionListener.Event.html" title="enum in org.apache.sshd.common.session">SessionListener.Event</a> event) |
| 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="reExchangeKeys--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>reExchangeKeys</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/future/KeyExchangeFuture.html" title="interface in org.apache.sshd.common.future">KeyExchangeFuture</a> reExchangeKeys() |
| 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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#reExchangeKeys--">Session</a></code></span></div> |
| <div class="block">Initiate a new key exchange.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#reExchangeKeys--">reExchangeKeys</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../../org/apache/sshd/common/future/KeyExchangeFuture.html" title="interface in org.apache.sshd.common.future"><code>KeyExchangeFuture</code></a> for awaiting the completion of the exchange</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 request keys re-negotiation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkRekey--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkRekey</h4> |
| <pre>protected void checkRekey() |
| 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="requestNewKeysExchange--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>requestNewKeysExchange</h4> |
| <pre>protected void requestNewKeysExchange() |
| 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="isRekeyRequired--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRekeyRequired</h4> |
| <pre>protected boolean isRekeyRequired()</pre> |
| </li> |
| </ul> |
| <a name="isRekeyTimeIntervalExceeded--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRekeyTimeIntervalExceeded</h4> |
| <pre>protected boolean isRekeyTimeIntervalExceeded()</pre> |
| </li> |
| </ul> |
| <a name="isRekeyPacketCountsExceeded--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRekeyPacketCountsExceeded</h4> |
| <pre>protected boolean isRekeyPacketCountsExceeded()</pre> |
| </li> |
| </ul> |
| <a name="isRekeyDataSizeExceeded--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRekeyDataSizeExceeded</h4> |
| <pre>protected boolean isRekeyDataSizeExceeded()</pre> |
| </li> |
| </ul> |
| <a name="isRekeyBlocksCountExceeded--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRekeyBlocksCountExceeded</h4> |
| <pre>protected boolean isRekeyBlocksCountExceeded()</pre> |
| </li> |
| </ul> |
| <a name="sendKexInit--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendKexInit</h4> |
| <pre>protected byte[] sendKexInit() |
| 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="setKexSeed-byte...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKexSeed</h4> |
| <pre>protected abstract void setKexSeed(byte... seed)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>seed</code> - The result of the KEXINIT handshake - required for correct |
| session key establishment</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="resolveAvailableSignaturesProposal--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveAvailableSignaturesProposal</h4> |
| <pre>protected <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> resolveAvailableSignaturesProposal()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A comma-separated list of all the signature protocols to be |
| included in the proposal - <code>null</code>/empty if no proposal</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getFactoryManager--"><code>getFactoryManager()</code></a>, |
| <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#resolveAvailableSignaturesProposal-org.apache.sshd.common.FactoryManager-"><code>resolveAvailableSignaturesProposal(FactoryManager)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="resolveAvailableSignaturesProposal-org.apache.sshd.common.FactoryManager-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveAvailableSignaturesProposal</h4> |
| <pre>protected abstract <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> resolveAvailableSignaturesProposal(<a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a> manager)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>manager</code> - The <a href="../../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common"><code>FactoryManager</code></a></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A comma-separated list of all the signature protocols to be |
| included in the proposal - <code>null</code>/empty if no proposal</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkKeys--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkKeys</h4> |
| <pre>protected abstract void checkKeys() |
| 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="receiveKexInit-org.apache.sshd.common.util.buffer.Buffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>receiveKexInit</h4> |
| <pre>protected void receiveKexInit(<a href="../../../../../org/apache/sshd/common/util/buffer/Buffer.html" title="class in org.apache.sshd.common.util.buffer">Buffer</a> 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="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="receiveKexInit-java.util.Map-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>receiveKexInit</h4> |
| <pre>protected abstract void receiveKexInit(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal, |
| byte[] seed) |
| 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="mergeProposals-java.util.Map-java.util.Map-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mergeProposals</h4> |
| <pre>protected <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> mergeProposals(<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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> current, |
| <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><<a href="../../../../../org/apache/sshd/common/kex/KexProposalOption.html" title="enum in org.apache.sshd.common.kex">KexProposalOption</a>,<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>> proposal)</pre> |
| </li> |
| </ul> |
| <a name="serviceAccept--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serviceAccept</h4> |
| <pre>protected void serviceAccept() |
| 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="checkForTimeouts--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkForTimeouts</h4> |
| <pre>protected void checkForTimeouts() |
| 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">Checks whether the session has timed out (both auth and idle timeouts are checked). If the session has |
| timed out, a DISCONNECT message will be sent.</div> |
| <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> - If failed to check</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkAuthenticationTimeout-long-long-"><code>checkAuthenticationTimeout(long, long)</code></a>, |
| <a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#checkIdleTimeout-long-long-"><code>checkIdleTimeout(long, long)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkAuthenticationTimeout-long-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAuthenticationTimeout</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util">Pair</a><<a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a>,<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>> checkAuthenticationTimeout(long now, |
| long authTimeoutMs)</pre> |
| <div class="block">Checks if authentication timeout expired</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>now</code> - The current time in millis</dd> |
| <dd><code>authTimeoutMs</code> - The configured timeout in millis - if non-positive |
| then no timeout</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util"><code>Pair</code></a> specifying the timeout status and disconnect reason |
| message if timeout expired, <code>null</code> or <code>NoTimeout</code> if no timeout |
| occurred</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getAuthTimeout--"><code>getAuthTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkIdleTimeout-long-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkIdleTimeout</h4> |
| <pre>protected <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util">Pair</a><<a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a>,<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>> checkIdleTimeout(long now, |
| long idleTimeoutMs)</pre> |
| <div class="block">Checks if idle timeout expired</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>now</code> - The current time in millis</dd> |
| <dd><code>idleTimeoutMs</code> - The configured timeout in millis - if non-positive |
| then no timeout</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../../org/apache/sshd/common/util/Pair.html" title="class in org.apache.sshd.common.util"><code>Pair</code></a> specifying the timeout status and disconnect reason |
| message if timeout expired, <code>null</code> or <code>NoTimeout</code> if no timeout |
| occurred</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/sshd/common/session/AbstractSession.html#getIdleTimeout--"><code>getIdleTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="resetIdleTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resetIdleTimeout</h4> |
| <pre>public void resetIdleTimeout()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#resetIdleTimeout--">resetIdleTimeout</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTimeoutStatus--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimeoutStatus</h4> |
| <pre>public <a href="../../../../../org/apache/sshd/common/session/Session.TimeoutStatus.html" title="enum in org.apache.sshd.common.session">Session.TimeoutStatus</a> getTimeoutStatus()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/sshd/common/session/Session.html#getTimeoutStatus--">Session</a></code></span></div> |
| <div class="block">Check if timeout has occurred.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getTimeoutStatus--">getTimeoutStatus</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the timeout status, never <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAuthTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAuthTimeout</h4> |
| <pre>public long getAuthTimeout()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getAuthTimeout--">getAuthTimeout</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Timeout value in milliseconds for authentication stage</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIdleTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleTimeout</h4> |
| <pre>public long getIdleTimeout()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/sshd/common/session/Session.html#getIdleTimeout--">getIdleTimeout</a></code> in interface <code><a href="../../../../../org/apache/sshd/common/session/Session.html" title="interface in org.apache.sshd.common.session">Session</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Timeout value in milliseconds for communication</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <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> toString()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><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></code> in class <code><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></code></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/AbstractSession.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/common/session/AbstractConnectionServiceRequestHandler.html" title="class in org.apache.sshd.common.session"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/sshd/common/session/AbstractSessionFactory.html" title="class in org.apache.sshd.common.session"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/sshd/common/session/AbstractSession.html" target="_top">Frames</a></li> |
| <li><a href="AbstractSession.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2008–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |