C# Класс IBE.EDDN.EDDNDuplicateFilter

Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
DataAccepted ( String system, String station, String commodity, System.DateTime sampleDate ) : System.Boolean

checks if the data is allowed to be imported. returns "false", if the data is to old (> 5 mins) or comes from future times (> 5 mins) or is already recieved (e.g. from another relay or another user or simply "double sended")

DataAccepted ( string dataRow ) : bool

checks if the data is allowed to be imported. returns "false", if the data is to old (> 5 mins) or comes from future times (> 5 mins) or is already recieved (e.g. from another relay or another user or simply "double sended")

Dispose ( ) : void
EDDNDuplicateFilter ( System.TimeSpan ignoringPeriod ) : System

Приватные методы

Метод Описание
m_Releaser_Elapsed ( object sender, System e ) : void

Cleans up the collected filter-data by it's timestamp. If the timestamp is old enough, the ids will be removed from the filter-list.

Описание методов

DataAccepted() публичный Метод

checks if the data is allowed to be imported. returns "false", if the data is to old (> 5 mins) or comes from future times (> 5 mins) or is already recieved (e.g. from another relay or another user or simply "double sended")
public DataAccepted ( String system, String station, String commodity, System.DateTime sampleDate ) : System.Boolean
system String
station String
commodity String
sampleDate System.DateTime
Результат System.Boolean

DataAccepted() публичный Метод

checks if the data is allowed to be imported. returns "false", if the data is to old (> 5 mins) or comes from future times (> 5 mins) or is already recieved (e.g. from another relay or another user or simply "double sended")
public DataAccepted ( string dataRow ) : bool
dataRow string
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EDDNDuplicateFilter() публичный Метод

public EDDNDuplicateFilter ( System.TimeSpan ignoringPeriod ) : System
ignoringPeriod System.TimeSpan
Результат System