C# Class BlackLinks.Hosting.RequestsGateway

Exposes Methods to get and write responses to server side requests using .NET Remoting.
Inheritance: System.MarshalByRefObject
ファイルを表示 Open project: heapsource/BlackLinks Class Usage Examples

Public Methods

Method Description
AddResponseHeader ( long requestId, RequestHeader header ) : void
GetApplicationUnixChannelAbsoluteUri ( string blackApplicationDirectory ) : string
GetHeaders ( long requestId ) : RequestHeader[]
GetHttpProtocol ( long requestId ) : string
GetMethodName ( long requestId ) : string
GetQueryString ( long requestId ) : string
GetReceiverUnixChannelAbsoluteUri ( string blackApplicationDirectory ) : string
GetRequestContent ( long requestId ) : byte[]
GetUri ( long requestId ) : string
InitializeLifetimeService ( ) : object
Process ( long requestId ) : void
WriteResponse ( long requestId, byte bytes, string contentType, int statusCode ) : void

Protected Methods

Method Description
RenderReceiverNotFoundPage ( long requestId ) : void

Method Details

AddResponseHeader() public abstract method

public abstract AddResponseHeader ( long requestId, RequestHeader header ) : void
requestId long
header RequestHeader
return void

GetApplicationUnixChannelAbsoluteUri() public static method

public static GetApplicationUnixChannelAbsoluteUri ( string blackApplicationDirectory ) : string
blackApplicationDirectory string
return string

GetHeaders() public abstract method

public abstract GetHeaders ( long requestId ) : RequestHeader[]
requestId long
return RequestHeader[]

GetHttpProtocol() public abstract method

public abstract GetHttpProtocol ( long requestId ) : string
requestId long
return string

GetMethodName() public abstract method

public abstract GetMethodName ( long requestId ) : string
requestId long
return string

GetQueryString() public abstract method

public abstract GetQueryString ( long requestId ) : string
requestId long
return string

GetReceiverUnixChannelAbsoluteUri() public static method

public static GetReceiverUnixChannelAbsoluteUri ( string blackApplicationDirectory ) : string
blackApplicationDirectory string
return string

GetRequestContent() public abstract method

public abstract GetRequestContent ( long requestId ) : byte[]
requestId long
return byte[]

GetUri() public abstract method

public abstract GetUri ( long requestId ) : string
requestId long
return string

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : object
return object

Process() public method

public Process ( long requestId ) : void
requestId long
return void

RenderReceiverNotFoundPage() protected abstract method

protected abstract RenderReceiverNotFoundPage ( long requestId ) : void
requestId long
return void

WriteResponse() public abstract method

public abstract WriteResponse ( long requestId, byte bytes, string contentType, int statusCode ) : void
requestId long
bytes byte
contentType string
statusCode int
return void