C# 클래스 IBE.EDDN.EDDNDuplicateFilter

상속: IDisposable
파일 보기 프로젝트 열기: Duke-Jones/ED-IBE

공개 메소드들

메소드 설명
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