Class SVNPlainConnector
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.svn.SVNPlainConnector
-
- All Implemented Interfaces:
ISVNConnector
public class SVNPlainConnector extends java.lang.Object implements ISVNConnector
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private static int
DEFAULT_SVN_TIMEOUT
private java.io.InputStream
myInputStream
private java.io.OutputStream
myOutputStream
private java.net.Socket
mySocket
-
Constructor Summary
Constructors Constructor Description SVNPlainConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(SVNRepositoryImpl repository)
void
free()
java.io.InputStream
getInputStream()
java.io.OutputStream
getOutputStream()
void
handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception)
boolean
isConnected(SVNRepositoryImpl repos)
boolean
isStale()
boolean
occupy()
void
open(SVNRepositoryImpl repository)
-
-
-
Field Detail
-
DEFAULT_SVN_TIMEOUT
private static final int DEFAULT_SVN_TIMEOUT
- See Also:
- Constant Field Values
-
mySocket
private java.net.Socket mySocket
-
myOutputStream
private java.io.OutputStream myOutputStream
-
myInputStream
private java.io.InputStream myInputStream
-
-
Method Detail
-
open
public void open(SVNRepositoryImpl repository) throws SVNException
- Specified by:
open
in interfaceISVNConnector
- Throws:
SVNException
-
close
public void close(SVNRepositoryImpl repository) throws SVNException
- Specified by:
close
in interfaceISVNConnector
- Throws:
SVNException
-
isStale
public boolean isStale()
- Specified by:
isStale
in interfaceISVNConnector
-
isConnected
public boolean isConnected(SVNRepositoryImpl repos) throws SVNException
- Specified by:
isConnected
in interfaceISVNConnector
- Throws:
SVNException
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStream
in interfaceISVNConnector
- Throws:
java.io.IOException
-
getOutputStream
public java.io.OutputStream getOutputStream() throws java.io.IOException
- Specified by:
getOutputStream
in interfaceISVNConnector
- Throws:
java.io.IOException
-
free
public void free()
-
occupy
public boolean occupy()
-
handleExceptionOnOpen
public void handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception) throws SVNException
- Specified by:
handleExceptionOnOpen
in interfaceISVNConnector
- Throws:
SVNException
-
-