\r\n

51Degrees Pipeline .NET  4.1Newer Version 4.4

51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageElement Class Reference

Detailed Description

Flow element that sends usage data to 51Degrees for analysis.

The type and quantity of data being sent can be customised using the options on the constructor. By default, data is queued until there are at least 50 items in memory. It is then serialised to an XML file and sent to the specified URL.

Inheritance diagram for FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageElement:

[legend]

Collaboration diagram for FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageElement:

[legend]

Protected Member Functions

override void  BuildAndSendXml ()
Create the XML file from the specified data and send it to the configured URL. More...

Protected Member Functions inherited from FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBase

 ShareUsageBase (ILogger< ShareUsageBase > logger, HttpClient httpClient, double sharePercentage, int minimumEntriesPerMessage, int maximumQueueSize, int addTimeout, int takeTimeout, int repeatEvidenceIntervalMinutes, bool trackSession, string shareUsageUrl, List< string > blockedHttpHeaders, List< string > includedQueryStringParameters, List< KeyValuePair< string, string >> ignoreDataEvidenceFilter, string aspSessionCookieName=Engines.Constants.DEFAULT_ASP_COOKIE_NAME)
Constructor More...
 ShareUsageBase (ILogger< ShareUsageBase > logger, HttpClient httpClient, double sharePercentage, int minimumEntriesPerMessage, int maximumQueueSize, int addTimeout, int takeTimeout, int repeatEvidenceIntervalMinutes, bool trackSession, string shareUsageUrl, List< string > blockedHttpHeaders, List< string > includedQueryStringParameters, List< KeyValuePair< string, string >> ignoreDataEvidenceFilter, string aspSessionCookieName, ITracker tracker)
Constructor More...
override void  ProcessInternal (IFlowData data)
Process the data More...
override void  ManagedResourcesCleanup ()
Send any data which has built up locally and not yet been sent to the remote service. More...
override void  UnmanagedResourcesCleanup ()
Clean up any unmanaged resources. More...
void  TrySendData ()
Attempt to send the data to the remote service. More...
virtual void  WriteData (XmlWriter writer, ShareUsageData data)
Virtual method to be overridden in extending usage share elements. More...
void  WriteDeviceData (XmlWriter writer, ShareUsageData data)
Write the specified device data using the specified writer. More...
virtual void  WritePipelineInfo (XmlWriter writer)
Virtual method to write details about the pipeline. More...

Protected Member Functions inherited from FiftyOne.Pipeline.Core.FlowElements.FlowElementBase< IElementData, IElementPropertyMetaData >

abstract void  ProcessInternal (IFlowData data)
Abstract method called by Process(IFlowData). More...
virtual T  CreateElementData (IFlowData flowData)
Method used to create element data instances that are populated by this flow element More...
virtual void  Dispose (bool disposing)
Dispose of any resources. More...

Member Function Documentation