C# Class Mono.FastCgi.Connection

Show file Open project: 7digital/xsp Class Usage Examples

Private Properties

Property Type Description
GetRequest Mono.FastCgi.Request
GetRequestIndex int
StopRun void

Public Methods

Method Description
Connection ( Mono.FastCgi.Socket socket, Server server ) : System
EndRequest ( ushort requestID, int appStatus, ProtocolStatus protocolStatus ) : void
Run ( ) : void
SendRecord ( RecordType type, ushort requestID, byte bodyData ) : void
SendRecord ( RecordType type, ushort requestID, byte bodyData, int bodyIndex, int bodyLength ) : void
Stop ( ) : void

Private Methods

Method Description
GetRequest ( ushort requestID ) : Mono.FastCgi.Request
GetRequestIndex ( ushort requestID ) : int
StopRun ( string message ) : void

Method Details

Connection() public method

public Connection ( Mono.FastCgi.Socket socket, Server server ) : System
socket Mono.FastCgi.Socket
server Server
return System

EndRequest() public method

public EndRequest ( ushort requestID, int appStatus, ProtocolStatus protocolStatus ) : void
requestID ushort
appStatus int
protocolStatus ProtocolStatus
return void

Run() public method

public Run ( ) : void
return void

SendRecord() public method

public SendRecord ( RecordType type, ushort requestID, byte bodyData ) : void
type RecordType
requestID ushort
bodyData byte
return void

SendRecord() public method

public SendRecord ( RecordType type, ushort requestID, byte bodyData, int bodyIndex, int bodyLength ) : void
type RecordType
requestID ushort
bodyData byte
bodyIndex int
bodyLength int
return void

Stop() public method

public Stop ( ) : void
return void