Пример #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
 /// <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
 internal MultiRequestService(TransportHttp _enclosing, string serviceName) : base
         (_enclosing, serviceName)
 {
     this._enclosing = _enclosing;
 }