public class SVNSSHConnector extends java.lang.Object implements ISVNConnector
| Modifier and Type | Field and 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 and Description |
|---|
SVNSSHConnector() |
SVNSSHConnector(boolean useConnectionPing,
boolean useSessionPing) |
| Modifier and Type | Method and 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() |
private static final java.lang.String SVNSERVE_COMMAND
private static final java.lang.String SVNSERVE_COMMAND_WITH_USER_NAME
private static final boolean ourIsUseSessionPing
private static SshSessionPool ourSessionPool
private SshSession mySession
private java.io.InputStream myInputStream
private java.io.OutputStream myOutputStream
private boolean myIsUseSessionPing
public SVNSSHConnector()
public SVNSSHConnector(boolean useConnectionPing,
boolean useSessionPing)
public void open(SVNRepositoryImpl repository) throws SVNException
open in interface ISVNConnectorSVNExceptionpublic void close(SVNRepositoryImpl repository) throws SVNException
close in interface ISVNConnectorSVNExceptionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface ISVNConnectorjava.io.IOExceptionpublic java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface ISVNConnectorjava.io.IOExceptionpublic boolean isConnected(SVNRepositoryImpl repos) throws SVNException
isConnected in interface ISVNConnectorSVNExceptionpublic boolean isStale()
isStale in interface ISVNConnectorpublic static void shutdown()
public void handleExceptionOnOpen(SVNRepositoryImpl repository, SVNException exception) throws SVNException
handleExceptionOnOpen in interface ISVNConnectorSVNException