Interface FeatureEndpoint
-
- All Known Subinterfaces:
BaseInitialTriggerFeatureEndpoint
,SentinelChargingFeatureEndpoint
,SentinelSipMultiLegFeatureEndpoint
public interface FeatureEndpoint
The interface a feature uses to provide feedback into the sentinel core. Features may make any number of notifications and requests to the sentinel core. They must always pass control back to the sentinel core by #featureHasFinished()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
featureCannotStart(FeatureError reason)
notification: feature failed to start properlyvoid
featureFailedToExecute(FeatureError reason)
notification: feature has started, but failed during executionvoid
featureHasFinished()
directive: this feature has finishedvoid
featureIssuedWarning(FeatureWarning warning)
notification: feature had a problem it managed to resolve internallyjava.lang.String
getConvergenceName()
return: the convergence name of the SBB entity.
-
-
-
Method Detail
-
featureCannotStart
void featureCannotStart(FeatureError reason)
notification: feature failed to start properly- Parameters:
reason
- why the feature has failed
-
featureFailedToExecute
void featureFailedToExecute(FeatureError reason)
notification: feature has started, but failed during execution- Parameters:
reason
- why the feature has failed
-
featureIssuedWarning
void featureIssuedWarning(FeatureWarning warning)
notification: feature had a problem it managed to resolve internally- Parameters:
warning
- warning from the feature to sentinel core
-
featureHasFinished
void featureHasFinished()
directive: this feature has finished
-
getConvergenceName
java.lang.String getConvergenceName()
return: the convergence name of the SBB entity.- Returns:
- the convergence name of the SBB entity.
-
-