Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.Alerts.IAlert Interface Reference

This will retrieve information necessary for sending alerts More...

Inheritance diagram for Sphyrnidae.Common.Alerts.IAlert:
Sphyrnidae.Common.Alerts.Alert Sphyrnidae.Common.Alerts.AlertNone

Public Member Functions

long MaxMilliseconds (string name)
 How to determine how long something is considered to be "long running" More...
 
bool HttpResponseAlert (HttpResponseInfo responseInfo)
 Application specific request on if this should cause an alert More...
 

Detailed Description

This will retrieve information necessary for sending alerts

Member Function Documentation

◆ HttpResponseAlert()

bool Sphyrnidae.Common.Alerts.IAlert.HttpResponseAlert ( HttpResponseInfo  responseInfo)

Application specific request on if this should cause an alert

Parameters
responseInfoThe collected information about the Http Response
Returns
True if this should cause an alert

Implemented in Sphyrnidae.Common.Alerts.AlertNone, and Sphyrnidae.Common.Alerts.Alert.

◆ MaxMilliseconds()

long Sphyrnidae.Common.Alerts.IAlert.MaxMilliseconds ( string  name)

How to determine how long something is considered to be "long running"

Parameters
nameThe name of the item being looked up
Returns
The number of milliseconds something is considered to be long running

Implemented in Sphyrnidae.Common.Alerts.AlertNone, and Sphyrnidae.Common.Alerts.Alert.


The documentation for this interface was generated from the following file: