Class FeedMessageValidatorImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.FeedMessageValidatorImpl
- All Implemented Interfaces:
FeedMessageValidator
Defines methods used to validate received messages
-
Constructor Summary
ConstructorsConstructorDescriptionFeedMessageValidatorImpl(MarketDescriptionProvider marketDescriptionProvider, SdkInternalConfiguration configuration, NamedValuesProvider namedValuesProvider) -
Method Summary
Modifier and TypeMethodDescriptionvalidate(UnmarshalledMessage message, RoutingKeyInfo rkInfo) Validates the providedUnmarshalledMessageinstance
-
Constructor Details
-
FeedMessageValidatorImpl
@Inject public FeedMessageValidatorImpl(MarketDescriptionProvider marketDescriptionProvider, SdkInternalConfiguration configuration, NamedValuesProvider namedValuesProvider)
-
-
Method Details
-
validate
Validates the providedUnmarshalledMessageinstance- Specified by:
validatein interfaceFeedMessageValidator- Parameters:
message- the message instance that should be validatedrkInfo- the associated routing key information- Returns:
- a
ValidationResultspecifying the validation result
-