FilterRule Class

Definition

A filter rule for the MessageRouter.

public class FilterRule
type FilterRule = class
Public Class FilterRule
Inheritance
FilterRule

Constructors

FilterRule(String, TalkerId, SentenceId, IEnumerable<String>, Boolean, Boolean)

A standard filter rule. When the filter matches

FilterRule(String, TalkerId, SentenceId, IEnumerable<String>, Func<NmeaSinkAndSource,NmeaSinkAndSource,NmeaSentence,NmeaSentence>, Boolean, Boolean)

A standard filter rule. When the filter matches

Properties

ContinueAfterMatch

If this is true, filter testing is continued even after a match. If it is false (the default), no further filters are tested after the first match (which typically means that a message is only matching one filter)

ForwardingAction

If non-null, this action can modify the message before it is being sent to the indicated sink. Note that the input message shall not be modified, clone it if necessary.

SentenceId

SentenceId for which this filter applies

Sinks

Action this filter performs

SourceName

Name of the source for which this filter shall apply

TalkerId

TalkerId for which this filter applies

Methods

SentenceMatch(String, NmeaSentence)

True if this filter matches the given sentence and source

Applies to