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 intDEFAULT_SVN_TIMEOUTprivate java.io.InputStreammyInputStreamprivate java.io.OutputStreammyOutputStreamprivate java.net.SocketmySocket
-
Constructor Summary
Constructors Constructor Description SVNPlainConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(SVNRepositoryImpl repository)voidfree()java.io.InputStreamgetInputStream()java.io.OutputStreamgetOutputStream()voidhandleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception)booleanisConnected(SVNRepositoryImpl repos)booleanisStale()booleanoccupy()voidopen(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:
openin interfaceISVNConnector- Throws:
SVNException
-
close
public void close(SVNRepositoryImpl repository) throws SVNException
- Specified by:
closein interfaceISVNConnector- Throws:
SVNException
-
isStale
public boolean isStale()
- Specified by:
isStalein interfaceISVNConnector
-
isConnected
public boolean isConnected(SVNRepositoryImpl repos) throws SVNException
- Specified by:
isConnectedin interfaceISVNConnector- Throws:
SVNException
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException- Specified by:
getInputStreamin interfaceISVNConnector- Throws:
java.io.IOException
-
getOutputStream
public java.io.OutputStream getOutputStream() throws java.io.IOException- Specified by:
getOutputStreamin 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:
handleExceptionOnOpenin interfaceISVNConnector- Throws:
SVNException
-
-