/// <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(); }
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); }
/// <param name="serviceName"></param> internal LongPollService(TransportHttp _enclosing, string serviceName) : base(_enclosing, serviceName ) { this._enclosing = _enclosing; }
internal HttpObjectDB(TransportHttp _enclosing, Uri b) { this._enclosing = _enclosing; // for now, ignore the remaining header lines this.objectsUrl = b; }
internal MultiRequestService(TransportHttp _enclosing, string serviceName) : base (_enclosing, serviceName) { this._enclosing = _enclosing; }