You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2011/04/05 13:21:53 UTC

svn commit: r1088978 - /mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/ClientSession.java

Author: gnodet
Date: Tue Apr  5 11:21:53 2011
New Revision: 1088978

URL: http://svn.apache.org/viewvc?rev=1088978&view=rev
Log:
[SSHD-110] Wrong return type for ClientSession#createShellChannel()

Modified:
    mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/ClientSession.java

Modified: mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/ClientSession.java
URL: http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/ClientSession.java?rev=1088978&r1=1088977&r2=1088978&view=diff
==============================================================================
--- mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/ClientSession.java (original)
+++ mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/ClientSession.java Tue Apr  5 11:21:53 2011
@@ -23,7 +23,7 @@ import java.security.KeyPair;
 import java.util.Map;
 
 import org.apache.sshd.client.channel.ChannelExec;
-import org.apache.sshd.client.channel.ChannelSession;
+import org.apache.sshd.client.channel.ChannelShell;
 import org.apache.sshd.client.channel.ChannelSubsystem;
 import org.apache.sshd.client.future.AuthFuture;
 import org.apache.sshd.common.future.CloseFuture;
@@ -66,7 +66,7 @@ public interface ClientSession {
 
     ClientChannel createChannel(String type, String subType) throws Exception;
 
-    ChannelSession createShellChannel() throws Exception;
+    ChannelShell createShellChannel() throws Exception;
 
     ChannelExec createExecChannel(String command) throws Exception;