C# Class AK.F1.Timing.Live.IO.LiveSocketMessageStream

An AK.F1.Timing.Live.IO.IMessageStream implementation which delegates to an underlying System.Net.Sockets.Socket. This implementation supports pinging. This class cannot be inherited.
Inheritance: DisposableBase, IMessageStream
Show file Open project: simoneb/ak-f1-timing

Private Properties

Property Type Description
FillBuffer void
FillCore bool
Ping void

Public Methods

Method Description
Fill ( byte buffer, int offset, int count ) : bool
LiveSocketMessageStream ( Socket socket ) : System

Initialises a new instance of the LiveSocketMessageStream class.

Protected Methods

Method Description
DisposeOfManagedResources ( ) : void

Private Methods

Method Description
FillBuffer ( ) : void
FillCore ( byte buffer, int offset, int count ) : bool
Ping ( ) : void

Method Details

DisposeOfManagedResources() protected method

protected DisposeOfManagedResources ( ) : void
return void

Fill() public method

public Fill ( byte buffer, int offset, int count ) : bool
buffer byte
offset int
count int
return bool

LiveSocketMessageStream() public method

Initialises a new instance of the LiveSocketMessageStream class.
/// Thrown when is . ///
public LiveSocketMessageStream ( Socket socket ) : System
socket System.Net.Sockets.Socket The stream socket.
return System