KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > ssh2 > PServerSSH2Method


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * Atsuhiko Yamanaka, JCraft,Inc. - initial API and implementation.
10  * IBM Corporation - ongoing maintenance
11  *******************************************************************************/

12 package org.eclipse.team.internal.ccvs.ssh2;
13
14 import org.eclipse.team.internal.ccvs.core.ICVSRepositoryLocation;
15 import org.eclipse.team.internal.ccvs.core.IConnectionMethod;
16 import org.eclipse.team.internal.ccvs.core.IServerConnection;
17
18 public class PServerSSH2Method implements IConnectionMethod {
19     public String JavaDoc getName() {
20         return "pserverssh2"; //$NON-NLS-1$
21
}
22     public IServerConnection createConnection(ICVSRepositoryLocation root, String JavaDoc password) {
23         return new PServerSSH2ServerConnection(root, password);
24     }
25     public void disconnect(ICVSRepositoryLocation location) {
26     }
27 }
28
Popular Tags