C# Class System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler

Inheritance: TcpSocketHandler
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
GetRequestStream ( IMessage msg, int contentLength, ITransportHeaders headers ) : Stream
GetResponseStream ( ) : Stream
OnInputStreamClosed ( ) : void
ReadHeaders ( ) : BaseTransportHeaders
ReturnToCache ( ) : void
SendRequest ( IMessage msg, ITransportHeaders headers, Stream contentStream ) : void
TcpClientSocketHandler ( Socket socket, String machinePortAndSid, Stream stream, TcpClientTransportSink sink ) : System

Protected Methods

Method Description
PrepareForNewMessage ( ) : void

Method Details

GetRequestStream() public method

public GetRequestStream ( IMessage msg, int contentLength, ITransportHeaders headers ) : Stream
msg IMessage
contentLength int
headers ITransportHeaders
return Stream

GetResponseStream() public method

public GetResponseStream ( ) : Stream
return Stream

OnInputStreamClosed() public method

public OnInputStreamClosed ( ) : void
return void

PrepareForNewMessage() protected method

protected PrepareForNewMessage ( ) : void
return void

ReadHeaders() public method

public ReadHeaders ( ) : BaseTransportHeaders
return BaseTransportHeaders

ReturnToCache() public method

public ReturnToCache ( ) : void
return void

SendRequest() public method

public SendRequest ( IMessage msg, ITransportHeaders headers, Stream contentStream ) : void
msg IMessage
headers ITransportHeaders
contentStream Stream
return void

TcpClientSocketHandler() public method

public TcpClientSocketHandler ( Socket socket, String machinePortAndSid, Stream stream, TcpClientTransportSink sink ) : System
socket Socket
machinePortAndSid String
stream Stream
sink TcpClientTransportSink
return System