Exemplo n.º 1
0
		public AspNetRequest(ushort id, BeginRequestMessageBody body, IAspNetRequestConfig config)
			: base(id, body)
		{
            _config = config;
			this.Status = String.Empty;
			this.Headers = new NameValueCollection();
		}
Exemplo n.º 2
0
		protected Request(ushort id, BeginRequestMessageBody body)
		{
			this.Id = id;
			this.RequestBody = body;
			this.ExitCode = 0;

			this.ParametersStream = new InputStream();
			this.InputStream      = new InputStream();
			this.DataStream       = new InputStream();

			this.OutputStream     = new OutputStream();
			this.ErrorStream      = new OutputStream();

			this.OutputStream.Flushing += new EventHandler<FlushEventArgs>(OutputStreamFlushing);
			this.ErrorStream.Flushing += new EventHandler<FlushEventArgs>(ErrorStreamFlushing);
		}
Exemplo n.º 3
0
        protected Request(ushort id, BeginRequestMessageBody body)
        {
            this.Id          = id;
            this.RequestBody = body;
            this.ExitCode    = 0;

            this.ParametersStream = new InputStream();
            this.InputStream      = new InputStream();
            this.DataStream       = new InputStream();

            this.OutputStream = new OutputStream();
            this.ErrorStream  = new OutputStream();

            this.OutputStream.Flushing += new EventHandler <FlushEventArgs>(OutputStreamFlushing);
            this.ErrorStream.Flushing  += new EventHandler <FlushEventArgs>(ErrorStreamFlushing);
        }
Exemplo n.º 4
0
 protected abstract Request CreateRequest(ushort requestId, BeginRequestMessageBody body);
Exemplo n.º 5
0
 protected override Request CreateRequest(ushort requestId, BeginRequestMessageBody body)
 {
     return new AspNetRequest(requestId, body, _config);
 }
Exemplo n.º 6
0
 public SimpleRequest(ushort id, BeginRequestMessageBody body)
     : base(id, body)
 {
 }
Exemplo n.º 7
0
 protected abstract Request CreateRequest(ushort requestId, BeginRequestMessageBody body);