C# Class Microsoft.HockeyApp.Channel.InMemoryTransmitter

A transmitter that will immediately send telemetry over HTTP. Telemetry items are being sent when Flush is called, or when the buffer is full (An OnFull "event" is raised) or every 30 seconds.
Inheritance: IDisposable
Mostrar archivo Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Private Properties

Property Type Description
DequeueAndSend void
Dispose void
Flush void
InMemoryTransmitter System
OnBufferFull void
Runner void
Send Task

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Private Methods

Method Description
DequeueAndSend ( ) : void

Flushes the in-memory buffer and send it.

Dispose ( bool disposing ) : void
Flush ( ) : void

Flushes the in-memory buffer and sends it.

InMemoryTransmitter ( TelemetryBuffer buffer ) : System
OnBufferFull ( ) : void

Happens when the in-memory buffer is full. Flushes the in-memory buffer and sends the telemetry items.

Runner ( ) : void

Flushes the in-memory buffer and sends the telemetry items in sendingInterval intervals or when startRunnerEvent is set.

Send ( IEnumerable telemetryItems ) : Task

Serializes a list of telemetry items and sends them.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void