C# Class GuaranteedRate.Sextant.WebClients.AsyncEventReporter

Inheritance: IEventReporter
Show file Open project: Guaranteed-Rate/GuaranteedRate.Sextant

Public Properties

Property Type Description
SUCCESS_CODES ISet

Public Methods

Method Description
AsyncEventReporter ( string url, int queueSize = DEFAULT_QUEUE_SIZE, int retries = DEFAULT_RETRIES ) : GuaranteedRate.Sextant.Loggers
ReportEvent ( string formattedData ) : bool
Shutdown ( ) : void

Protected Methods

Method Description
ExtraSetup ( WebRequest webRequest ) : void

Private Methods

Method Description
PostEvent ( string formattedData ) : bool
init ( ) : void

Method Details

AsyncEventReporter() public method

public AsyncEventReporter ( string url, int queueSize = DEFAULT_QUEUE_SIZE, int retries = DEFAULT_RETRIES ) : GuaranteedRate.Sextant.Loggers
url string
queueSize int
retries int
return GuaranteedRate.Sextant.Loggers

ExtraSetup() protected method

protected ExtraSetup ( WebRequest webRequest ) : void
webRequest System.Net.WebRequest
return void

ReportEvent() public method

public ReportEvent ( string formattedData ) : bool
formattedData string
return bool

Shutdown() public method

public Shutdown ( ) : void
return void

Property Details

SUCCESS_CODES public static property

public static ISet SUCCESS_CODES
return ISet