コード例 #1
0
 /// <exception cref="NGit.Errors.TransportException"></exception>
 internal SmartHttpPushConnection(TransportHttp _enclosing, InputStream advertisement
                                  ) : base(_enclosing)
 {
     this._enclosing   = _enclosing;
     this.statelessRPC = true;
     this.Init(advertisement, DisabledOutputStream.INSTANCE);
     this.outNeedsEnd = false;
     this.ReadAdvertisedRefs();
 }
コード例 #2
0
 internal Service(TransportHttp _enclosing, string serviceName)
 {
     this._enclosing  = _enclosing;
     this.serviceName = serviceName;
     this.requestType = "application/x-" + serviceName + "-request";
     //$NON-NLS-1$ //$NON-NLS-2$
     this.responseType = "application/x-" + serviceName + "-result";
     //$NON-NLS-1$ //$NON-NLS-2$
     this.execute = new TransportHttp.Service.HttpExecuteStream(this);
     this.@in     = new UnionInputStream(this.execute);
     this.@out    = new TransportHttp.Service.HttpOutputStream(this);
 }
コード例 #3
0
ファイル: TransportHttp.cs プロジェクト: TetradogOther/NGit
 /// <param name="serviceName"></param>
 internal LongPollService(TransportHttp _enclosing, string serviceName) : base(_enclosing, serviceName
                                                                               )
 {
     this._enclosing = _enclosing;
 }
コード例 #4
0
 internal HttpObjectDB(TransportHttp _enclosing, Uri b)
 {
     this._enclosing = _enclosing;
     // for now, ignore the remaining header lines
     this.objectsUrl = b;
 }
コード例 #5
0
ファイル: TransportHttp.cs プロジェクト: TetradogOther/NGit
 internal MultiRequestService(TransportHttp _enclosing, string serviceName) : base
         (_enclosing, serviceName)
 {
     this._enclosing = _enclosing;
 }