Top Description Fields Constructors Methods
org.eclipse.jgit.transport

public abstract Class TcpTransport

extends Transport
Class Inheritance
Known Direct Subclasses
org.eclipse.jgit.transport.TransportGitAnon, org.eclipse.jgit.transport.SshTransport
Imports
org.eclipse.jgit.lib.Repository

The base class for transports based on TCP sockets. This class holds settings common for all TCP based transports.

Field Summary

Inherited from org.eclipse.jgit.transport.Transport:
DEFAULT_FETCH_THINDEFAULT_PUSH_THINDEFAULT_PUSH_USE_BITMAPSlocalprotocolREFSPEC_PUSH_ALLREFSPEC_TAGSuri

Constructor Summary

AccessConstructor and Description
protected
TcpTransport(Repository
the repository this instance will fetch into, or push out of. This must be the repository passed to open(Repository, URIish).
local
,
URIish
the URI used to access the remote repository. This must be the URI passed to open(Repository, URIish).
uri
)

Create a new transport instance.

protected
TcpTransport(URIish
the URI used to access the remote repository. This must be the URI passed to open(URIish).
uri
)

Create a new transport instance without a local repository.

Method Summary

Inherited from org.eclipse.jgit.transport.Transport:
applyConfigclosefetchfetchfindRemoteRefUpdatesForfindRemoteRefUpdatesForfindRemoteRefUpdatesForfindRemoteRefUpdatesForfindTrackingRefNamegetCredentialsProvidergetDeepenNotsgetDeepenSincegetDepthgetFilterSpecgetObjectCheckergetOptionReceivePackgetOptionUploadPackgetPackConfiggetPushOptionsgetTagOptgetTimeoutgetTransportProtocolsgetURIisCheckFetchedObjectsisDryRunisFetchThinisPushAtomicisPushThinisPushUseBitmapsisRemoveDeletedRefsopenopenopenopenopenopenopenopenAllopenAllopenAllopenAllopenFetchopenFetchopenPushpushpushregistersetCheckFetchedObjectssetCredentialsProvidersetDeepenNotssetDeepenSincesetDepthsetDepthsetDryRunsetFetchThinsetFilterSpecsetHookErrorStreamsetHookOutputStreamsetObjectCheckersetOptionReceivePacksetOptionUploadPacksetPackConfigsetPushAtomicsetPushOptionssetPushThinsetPushUseBitmapssetRemoveDeletedRefssetTagOptsetTimeoutunregister

Constructor Detail

TcpTransportback to summary
protected TcpTransport(Repository local, URIish uri)

Create a new transport instance.

Parameters
local:Repository

the repository this instance will fetch into, or push out of. This must be the repository passed to open(Repository, URIish).

uri:URIish

the URI used to access the remote repository. This must be the URI passed to open(Repository, URIish).

TcpTransportback to summary
protected TcpTransport(URIish uri)

Create a new transport instance without a local repository.

Parameters
uri:URIish

the URI used to access the remote repository. This must be the URI passed to open(URIish).

Since
3.5