Class SVNSSHConnector
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector
-
- All Implemented Interfaces:
ISVNConnector
public class SVNSSHConnector extends java.lang.Object implements ISVNConnector
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.InputStreammyInputStreamprivate booleanmyIsUseSessionPingprivate java.io.OutputStreammyOutputStreamprivate SshSessionmySessionprivate static booleanourIsUseSessionPingprivate static SshSessionPoolourSessionPoolprivate static java.lang.StringSVNSERVE_COMMANDprivate static java.lang.StringSVNSERVE_COMMAND_WITH_USER_NAME
-
Constructor Summary
Constructors Constructor Description SVNSSHConnector()SVNSSHConnector(boolean useConnectionPing, boolean useSessionPing)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(SVNRepositoryImpl repository)java.io.InputStreamgetInputStream()java.io.OutputStreamgetOutputStream()voidhandleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception)booleanisConnected(SVNRepositoryImpl repos)booleanisStale()voidopen(SVNRepositoryImpl repository)static voidshutdown()
-
-
-
Field Detail
-
SVNSERVE_COMMAND
private static final java.lang.String SVNSERVE_COMMAND
- See Also:
- Constant Field Values
-
SVNSERVE_COMMAND_WITH_USER_NAME
private static final java.lang.String SVNSERVE_COMMAND_WITH_USER_NAME
- See Also:
- Constant Field Values
-
ourIsUseSessionPing
private static final boolean ourIsUseSessionPing
-
ourSessionPool
private static SshSessionPool ourSessionPool
-
mySession
private SshSession mySession
-
myInputStream
private java.io.InputStream myInputStream
-
myOutputStream
private java.io.OutputStream myOutputStream
-
myIsUseSessionPing
private boolean myIsUseSessionPing
-
-
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
-
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
-
isConnected
public boolean isConnected(SVNRepositoryImpl repos) throws SVNException
- Specified by:
isConnectedin interfaceISVNConnector- Throws:
SVNException
-
isStale
public boolean isStale()
- Specified by:
isStalein interfaceISVNConnector
-
shutdown
public static void shutdown()
-
handleExceptionOnOpen
public void handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception) throws SVNException
- Specified by:
handleExceptionOnOpenin interfaceISVNConnector- Throws:
SVNException
-
-