637638639640641642643644645646
@Override public Session startSession() throws ConnectionException, TransportException { assert isConnected() && isAuthenticated(); final SessionChannel sess = new SessionChannel(conn); sess.open(); assert sess.isOpen(); return sess; }
648649650651652653654655656
@Override public Session startSession() throws ConnectionException, TransportException { checkConnected(); checkAuthenticated(); final SessionChannel sess = new SessionChannel(conn); sess.open(); return sess; }