Method | Description | |
---|---|---|
MessagePermitted ( string message ) : bool |
Function that verifies a message is legal, returns true/false on message legality.
|
|
MessageThrottler ( int messagesAllowedInPeriod, System.TimeSpan periodDuration, bool applyThrottlingToRawMessages = false, int minimumMessageLengthAllowed = -1, int maximumMessageLengthAllowed = -1 ) : System |
messageThrottler constructor.
|
Method | Description | |
---|---|---|
periodTimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
public MessagePermitted ( string message ) : bool | ||
message | string | |
return | bool |
public MessageThrottler ( int messagesAllowedInPeriod, System.TimeSpan periodDuration, bool applyThrottlingToRawMessages = false, int minimumMessageLengthAllowed = -1, int maximumMessageLengthAllowed = -1 ) : System | ||
messagesAllowedInPeriod | int | |
periodDuration | System.TimeSpan | |
applyThrottlingToRawMessages | bool | |
minimumMessageLengthAllowed | int | |
maximumMessageLengthAllowed | int | |
return | System |