Host.ProcessRequest Method

Definition

Overloads

ProcessRequest(Stream, Stream)

Processes a request from a client

This override will automatically create the BufferedReader and BufferedWriter for you then call ProcessRequest(BufferedReader, BufferedWriter).

This is the preferred process request method to call.

ProcessRequest(BufferedReader, BufferedWriter)

Processes a request from a client

You should only call this if you need to provide a custom BufferedReader and/or BufferedWriter. For example you are using a Stream that needs Position.

ProcessRequest(Stream, Stream)

Processes a request from a client

This override will automatically create the BufferedReader and BufferedWriter for you then call ProcessRequest(BufferedReader, BufferedWriter).

This is the preferred process request method to call.

protected void ProcessRequest (System.IO.Stream readStream, System.IO.Stream writeStream);

Parameters

readStream
Stream

The Stream to read from

writeStream
Stream

The Stream to write to

Exceptions

Thrown if either provide stream is null

Thrown if we can't read or write to the respected stream

Applies to

ProcessRequest(BufferedReader, BufferedWriter)

Processes a request from a client

You should only call this if you need to provide a custom BufferedReader and/or BufferedWriter. For example you are using a Stream that needs Position.

protected void ProcessRequest (VoltRpc.IO.BufferedReader reader, VoltRpc.IO.BufferedWriter writer);

Parameters

reader
BufferedReader

The BufferedReader to read from

writer
BufferedWriter

The BufferedWriter to write to

Exceptions

Thrown if either buffer is null

Applies to