diff options
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/IServerConnection.java')
-rw-r--r-- | bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/IServerConnection.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/IServerConnection.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/IServerConnection.java deleted file mode 100644 index 7ecfc3055..000000000 --- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/IServerConnection.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.team.internal.ccvs.core; - -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.team.internal.ccvs.core.connection.CVSAuthenticationException; -/** -* CVS supports different connection methods for communicating between a client and the server. -* Furthermore, custom connection methods can be added. Connection methods are added -* to the CVS client as an IConnectionMethod, which can be used to create connections of -* type IServerConnection. -* -* @see IConnectionMethod -*/ -public interface IServerConnection { - /** - * Open a connection to the CVS server. - * - * Throw CVSAuthenticationException if the username or password is invalid. - * Throw IOExceptions for other failures. - */ - public void open(IProgressMonitor monitor) throws IOException, CVSAuthenticationException; - /** - * Close the connection - * - * Throw IOException on failures - */ - public void close() throws IOException; - /** - * Get the input stream to receive responses from the server - */ - public InputStream getInputStream(); - /** - * Get the output stream to send requests to the server - */ - public OutputStream getOutputStream(); -} |