C# Class AK.F1.Timing.F1Timing.Proxy

Provides methods for creating AK.F1.Timing.IMessageReaders which read from proxied message streams.
Show file Open project: simoneb/ak-f1-timing

Public Methods

Method Description
Read ( IPAddress address ) : IMessageReader

Creates a message reader which reads from the proxy at the specified address.

Read ( IPEndPoint endpoint ) : IMessageReader

Creates a message reader which reads from the proxy at the specified endpoint.

ReadAndRecord ( IPAddress address, string path ) : IMessageReader

Creates a message reader which reads from the proxy at the specified address and records the messages to the specified path.

ReadAndRecord ( IPEndPoint endpoint, string path ) : IMessageReader

Creates a message reader which reads from the proxy at the specified endpoint and records the messages to the specified path.

Method Details

Read() public static method

Creates a message reader which reads from the proxy at the specified address.
/// Thrown when is . ///
public static Read ( IPAddress address ) : IMessageReader
address System.Net.IPAddress The proxy address.
return IMessageReader

Read() public static method

Creates a message reader which reads from the proxy at the specified endpoint.
/// Thrown when is . ///
public static Read ( IPEndPoint endpoint ) : IMessageReader
endpoint System.Net.IPEndPoint The proxy endpoint.
return IMessageReader

ReadAndRecord() public static method

Creates a message reader which reads from the proxy at the specified address and records the messages to the specified path.
/// Thrown when or is /// . /// /// Thrown when is of zero length. /// /// Thrown when an IO error occurs whilst creating the output file. ///
public static ReadAndRecord ( IPAddress address, string path ) : IMessageReader
address System.Net.IPAddress The proxy address.
path string The path to save the messages to.
return IMessageReader

ReadAndRecord() public static method

Creates a message reader which reads from the proxy at the specified endpoint and records the messages to the specified path.
/// Thrown when or is /// . /// /// Thrown when is of zero length. /// /// Thrown when an IO error occurs whilst creating the output file. ///
public static ReadAndRecord ( IPEndPoint endpoint, string path ) : IMessageReader
endpoint System.Net.IPEndPoint The proxy endpoint.
path string The path to save the messages to.
return IMessageReader