diff options
author | Benoit Pradelle <pradelle@java.net> | 2008-02-04 16:41:35 +0000 |
---|---|---|
committer | Benoit Pradelle <pradelle@java.net> | 2008-02-04 16:41:35 +0000 |
commit | 2a144b5a1f6138e8b8246287daf6ccfe25699fe2 (patch) | |
tree | 21d0fe7cc7f052d32e15a6ee717450d0bedb9845 /src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java | |
parent | ffd5c40f7095797869a9921be740600f470dc194 (diff) | |
download | jitsi-2a144b5a1f6138e8b8246287daf6ccfe25699fe2.zip jitsi-2a144b5a1f6138e8b8246287daf6ccfe25699fe2.tar.gz jitsi-2a144b5a1f6138e8b8246287daf6ccfe25699fe2.tar.bz2 |
Apply the last version by Shobhit and finally activate SSH
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java b/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java index 99055a7..d4ee15a 100644 --- a/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java @@ -38,7 +38,7 @@ public class ProtocolProviderServiceSSHImpl /** * The name of this protocol. */ - public static final String SSH_PROTOCOL_NAME = "SSH"; + public static final String SSH_PROTOCOL_NAME = ProtocolNames.SSH; // /** // * The identifier for SSH Stack @@ -167,8 +167,7 @@ public class ProtocolProviderServiceSSHImpl //initialize the IM operation set basicInstantMessaging = new OperationSetBasicInstantMessagingSSHImpl( - this, - persistentPresence); + this); supportedOperationSets.put( OperationSetBasicInstantMessaging.class.getName(), @@ -176,9 +175,7 @@ public class ProtocolProviderServiceSSHImpl //initialze the file transfer operation set fileTranfer = new OperationSetFileTransferSSHImpl( - this, - persistentPresence, - basicInstantMessaging); + this); supportedOperationSets.put( OperationSetFileTransfer.class.getName(), @@ -242,7 +239,7 @@ public class ProtocolProviderServiceSSHImpl * a new jsch session is also created if the current one is invalid * * @param sshContact the contact of the remote machine - * @param Message the first message + * @param firstMessage the first message */ public void connectShell( final ContactSSH sshContact, @@ -370,7 +367,8 @@ public class ProtocolProviderServiceSSHImpl * * @param sshContact ID of SSH Contact * - * @throws JSchException if a JSch is unable to create a SSH Session with the remote machine + * @throws JSchException if a JSch is unable to create a SSH Session with + * the remote machine * @throws InterruptedException if the thread is interrupted before session * connected or is timed out * @throws OperationFailedException if not of above reasons :-) |