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.InputStream
myInputStream
private boolean
myIsUseSessionPing
private java.io.OutputStream
myOutputStream
private SshSession
mySession
private static boolean
ourIsUseSessionPing
private static SshSessionPool
ourSessionPool
private static java.lang.String
SVNSERVE_COMMAND
private static java.lang.String
SVNSERVE_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 void
close(SVNRepositoryImpl repository)
java.io.InputStream
getInputStream()
java.io.OutputStream
getOutputStream()
void
handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception)
boolean
isConnected(SVNRepositoryImpl repos)
boolean
isStale()
void
open(SVNRepositoryImpl repository)
static void
shutdown()
-
-
-
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:
open
in interfaceISVNConnector
- Throws:
SVNException
-
close
public void close(SVNRepositoryImpl repository) throws SVNException
- Specified by:
close
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
-
isConnected
public boolean isConnected(SVNRepositoryImpl repos) throws SVNException
- Specified by:
isConnected
in interfaceISVNConnector
- Throws:
SVNException
-
isStale
public boolean isStale()
- Specified by:
isStale
in interfaceISVNConnector
-
shutdown
public static void shutdown()
-
handleExceptionOnOpen
public void handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception) throws SVNException
- Specified by:
handleExceptionOnOpen
in interfaceISVNConnector
- Throws:
SVNException
-
-