Class SVNSSHConnector
java.lang.Object
org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector
- All Implemented Interfaces:
ISVNConnector
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InputStream
private boolean
private OutputStream
private SshSession
private static final boolean
private static SshSessionPool
private static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(SVNRepositoryImpl repository) void
handleExceptionOnOpen
(SVNRepositoryImpl repository, SVNException exception) boolean
isConnected
(SVNRepositoryImpl repos) boolean
isStale()
void
open
(SVNRepositoryImpl repository) static void
shutdown()
-
Field Details
-
SVNSERVE_COMMAND
- See Also:
-
SVNSERVE_COMMAND_WITH_USER_NAME
- See Also:
-
ourIsUseSessionPing
private static final boolean ourIsUseSessionPing -
ourSessionPool
-
mySession
-
myInputStream
-
myOutputStream
-
myIsUseSessionPing
private boolean myIsUseSessionPing
-
-
Constructor Details
-
SVNSSHConnector
public SVNSSHConnector() -
SVNSSHConnector
public SVNSSHConnector(boolean useConnectionPing, boolean useSessionPing)
-
-
Method Details
-
open
- Specified by:
open
in interfaceISVNConnector
- Throws:
SVNException
-
close
- Specified by:
close
in interfaceISVNConnector
- Throws:
SVNException
-
getInputStream
- Specified by:
getInputStream
in interfaceISVNConnector
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in interfaceISVNConnector
- Throws:
IOException
-
isConnected
- 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
-