Changed Transport class hierarchy basing on underlying transport
commit4dc84c216aae85308c3f313b8614b625686c19c3
authorConstantine Plotnikov <constantine.plotnikov@gmail.com>
Wed, 15 Apr 2009 13:24:27 +0000 (15 17:24 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 17 Apr 2009 16:43:46 +0000 (17 09:43 -0700)
treee971c84bd4ba2f95f704d2712acac3f6c819b9d8
parent1bb8970ad396dbe9451485a4d37e0d767f1d1180
Changed Transport class hierarchy basing on underlying transport

Instead of WalkTransport and PackTransport the transports
are now using SshTransport, TcpTransport, and HttpTransport,
indicating the type of basic underlying protocol is dealt
with. This lays groundwork for supplying transport specific
properties in the future. The WalkTransport and PackTransport
are now marker interfaces.

Signed-off-by: Constantine Plotnikov <constantine.plotnikov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
20 files changed:
org.spearce.jgit/src/org/spearce/jgit/transport/BasePackConnection.java
org.spearce.jgit/src/org/spearce/jgit/transport/BasePackFetchConnection.java
org.spearce.jgit/src/org/spearce/jgit/transport/BasePackPushConnection.java
org.spearce.jgit/src/org/spearce/jgit/transport/BundleFetchConnection.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/transport/HttpTransport.java [copied from org.spearce.jgit/src/org/spearce/jgit/transport/PackTransport.java with 68% similarity]
org.spearce.jgit/src/org/spearce/jgit/transport/PackTransport.java
org.spearce.jgit/src/org/spearce/jgit/transport/SshTransport.java [copied from org.spearce.jgit/src/org/spearce/jgit/transport/PackTransport.java with 68% similarity]
org.spearce.jgit/src/org/spearce/jgit/transport/TcpTransport.java [copied from org.spearce.jgit/src/org/spearce/jgit/transport/PackTransport.java with 68% similarity]
org.spearce.jgit/src/org/spearce/jgit/transport/TransportAmazonS3.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportBundle.java [copied from org.spearce.jgit/src/org/spearce/jgit/transport/PackTransport.java with 75% similarity]
org.spearce.jgit/src/org/spearce/jgit/transport/TransportBundleFile.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportBundleStream.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportGitAnon.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportGitSsh.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportHttp.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportLocal.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportSftp.java
org.spearce.jgit/src/org/spearce/jgit/transport/WalkFetchConnection.java
org.spearce.jgit/src/org/spearce/jgit/transport/WalkPushConnection.java
org.spearce.jgit/src/org/spearce/jgit/transport/WalkTransport.java