public class SVNPlainConnector extends java.lang.Object implements ISVNConnector
Modifier and Type | Field and Description |
---|---|
private static int |
DEFAULT_SVN_TIMEOUT |
private java.io.InputStream |
myInputStream |
private java.io.OutputStream |
myOutputStream |
private java.net.Socket |
mySocket |
Constructor and Description |
---|
SVNPlainConnector() |
Modifier and Type | Method and 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) |
private static final int DEFAULT_SVN_TIMEOUT
private java.net.Socket mySocket
private java.io.OutputStream myOutputStream
private java.io.InputStream myInputStream
public void open(SVNRepositoryImpl repository) throws SVNException
open
in interface ISVNConnector
SVNException
public void close(SVNRepositoryImpl repository) throws SVNException
close
in interface ISVNConnector
SVNException
public boolean isStale()
isStale
in interface ISVNConnector
public boolean isConnected(SVNRepositoryImpl repos) throws SVNException
isConnected
in interface ISVNConnector
SVNException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface ISVNConnector
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface ISVNConnector
java.io.IOException
public void free()
public boolean occupy()
public void handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception) throws SVNException
handleExceptionOnOpen
in interface ISVNConnector
SVNException