File: Connection.xml

package info (click to toggle)
xsp 2.10-2.4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,656 kB
  • sloc: cs: 11,307; xml: 8,481; sh: 4,378; perl: 1,189; makefile: 744; php: 6
file content (291 lines) | stat: -rw-r--r-- 12,246 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<Type Name="Connection" FullName="Mono.FastCgi.Connection">
  <TypeSignature Language="C#" Value="public class Connection" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Connection extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>fastcgi-mono-server2</AssemblyName>
    <AssemblyVersion>2.8.1.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>
            This class handles a FastCGI connection by processing records and
            calling responders.
            </summary>
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public Connection (Mono.FastCgi.Socket socket, Mono.FastCgi.Server server);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Mono.FastCgi.Socket socket, class Mono.FastCgi.Server server) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="socket" Type="Mono.FastCgi.Socket" />
        <Parameter Name="server" Type="Mono.FastCgi.Server" />
      </Parameters>
      <Docs>
        <param name="socket">
            A <see cref="T:Mono.FastCgi.Socket" /> object to communicate over.
            </param>
        <param name="server">
            A <see cref="T:Mono.FastCgi.Server" /> object containing the server that
            created the new instance.
            </param>
        <summary>
            Constructs and initializes a new instance of <see cref="T:Mono.FastCgi.Connection" /> to handle a specified socket created
            by a specified server.
            </summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="EndRequest">
      <MemberSignature Language="C#" Value="public void EndRequest (ushort requestID, int appStatus, Mono.FastCgi.ProtocolStatus protocolStatus);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void EndRequest(unsigned int16 requestID, int32 appStatus, valuetype Mono.FastCgi.ProtocolStatus protocolStatus) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="requestID" Type="System.UInt16" />
        <Parameter Name="appStatus" Type="System.Int32" />
        <Parameter Name="protocolStatus" Type="Mono.FastCgi.ProtocolStatus" />
      </Parameters>
      <Docs>
        <param name="requestID">
            A <see cref="T:System.UInt16" /> containing the ID of the request
            to end.
            </param>
        <param name="appStatus">
          <para>A <see cref="T:System.Int32" /> containing the application
            status the request ended with.</para>
          <para>This is the same value as would be returned by a
            program on termination. On successful termination, this
            would be zero.</para>
        </param>
        <param name="protocolStatus">
            A <see cref="T:Mono.FastCgi.ProtocolStatus" /> containing the FastCGI
            protocol status with which the request is being ended.
            </param>
        <summary>
            Sends an EndRequest record with a specified request ID,
            application status, and protocol status, and releases the
            associated resources.
            </summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsConnected">
      <MemberSignature Language="C#" Value="public bool IsConnected { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance bool IsConnected" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            Gets whether or not the current instance is connected.
            </summary>
        <value>
            A <see cref="T:System.Boolean" /> indicating whether or not the
            current instance is connected.
            </value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="RequestCount">
      <MemberSignature Language="C#" Value="public int RequestCount { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance int32 RequestCount" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            Gets the number of active requests being managed by the
            current instance.
            </summary>
        <value>
            A <see cref="T:System.Int32" /> containing the number of active
            requests being managed by the current instance.
            </value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Run">
      <MemberSignature Language="C#" Value="public void Run ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Run() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
            Receives and responds to records until all requests have
            been completed.
            </summary>
        <remarks>
            If the last received BeginRequest record is flagged
            with keep-alive, the connection will be kept alive event
            after all open requests have been completed.
            </remarks>
      </Docs>
    </Member>
    <Member MemberName="SendRecord">
      <MemberSignature Language="C#" Value="public void SendRecord (Mono.FastCgi.RecordType type, ushort requestID, byte[] bodyData);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SendRecord(valuetype Mono.FastCgi.RecordType type, unsigned int16 requestID, unsigned int8[] bodyData) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="type" Type="Mono.FastCgi.RecordType" />
        <Parameter Name="requestID" Type="System.UInt16" />
        <Parameter Name="bodyData" Type="System.Byte[]" />
      </Parameters>
      <Docs>
        <param name="type">
            A <see cref="T:Mono.FastCgi.RecordType" /> specifying the type of record
            to send.
            </param>
        <param name="requestID">
            A <see cref="T:System.UInt16" /> containing the ID of the request
            the record is associated with.
            </param>
        <param name="bodyData">
            A <see cref="T:System.Byte[]" /> containing the body data for the
            request.
            </param>
        <summary>
            Sends a record to the client.
            </summary>
        <remarks>
            If the socket is not connected, the record will not be
            sent.
            </remarks>
        <exception cref="T:System.ArgumentNullException">
          <paramref name="bodyData" /> is <see langword="null" />.
            </exception>
      </Docs>
    </Member>
    <Member MemberName="SendRecord">
      <MemberSignature Language="C#" Value="public void SendRecord (Mono.FastCgi.RecordType type, ushort requestID, byte[] bodyData, int bodyIndex, int bodyLength);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SendRecord(valuetype Mono.FastCgi.RecordType type, unsigned int16 requestID, unsigned int8[] bodyData, int32 bodyIndex, int32 bodyLength) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="type" Type="Mono.FastCgi.RecordType" />
        <Parameter Name="requestID" Type="System.UInt16" />
        <Parameter Name="bodyData" Type="System.Byte[]" />
        <Parameter Name="bodyIndex" Type="System.Int32" />
        <Parameter Name="bodyLength" Type="System.Int32" />
      </Parameters>
      <Docs>
        <param name="type">
            A <see cref="T:Mono.FastCgi.RecordType" /> specifying the type of record
            to send.
            </param>
        <param name="requestID">
            A <see cref="T:System.UInt16" /> containing the ID of the request
            the record is associated with.
            </param>
        <param name="bodyData">
            A <see cref="T:System.Byte[]" /> containing the body data for the
            request.
            </param>
        <param name="bodyIndex">
            A <see cref="T:System.Int32" /> specifying the index in <paramref name="bodyData" /> at which the body begins.
            </param>
        <param name="bodyLength">
            A <see cref="T:System.Int32" /> specifying the length of the body in
            <paramref name="bodyData" /> or -1 if all remaining data
            (<c><paramref name="bodyData" />.Length - <paramref name="bodyIndex" /></c>) is used.
            </param>
        <summary>
            Sends a record to the client.
            </summary>
        <remarks>
            If the socket is not connected, the record will not be
            sent.
            </remarks>
        <exception cref="T:System.ArgumentNullException">
          <paramref name="bodyData" /> is <see langword="null" />.
            </exception>
        <exception cref="T:System.ArgumentOutOfRangeException">
          <paramref name="bodyIndex" /> is outside of the range
            of <paramref name="bodyData" />.
            </exception>
        <exception cref="T:System.ArgumentException">
          <paramref name="bodyLength" /> contains more than 65535
            bytes or is set to -1 and calculated to be greater than
            65535 bytes.
            </exception>
      </Docs>
    </Member>
    <Member MemberName="Server">
      <MemberSignature Language="C#" Value="public Mono.FastCgi.Server Server { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class Mono.FastCgi.Server Server" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Mono.FastCgi.Server</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>
            Gets the server used to create the current instance.
            </summary>
        <value>
            A <see cref="T:Mono.FastCgi.Server" /> object containing the server used
            to create the current instance.
            </value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Stop">
      <MemberSignature Language="C#" Value="public void Stop ();" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Stop() cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.8.1.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
            Stops the current instance by ending all the open
            requests and closing the socket.
            </summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
</Type>