C# Class GuaranteedRate.Sextant.WebClients.AsyncEventReporter

Inheritance: IEventReporter
显示文件 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_oe static_oe property

public static ISet SUCCESS_CODES
return ISet