Class LinkMobilitySmsSendPlugin
java.lang.Object
io.vertigo.social.plugins.sms.linkmobility.LinkMobilitySmsSendPlugin
- All Implemented Interfaces:
io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Plugin,SmsSendPlugin
-
Constructor Summary
ConstructorsConstructorDescriptionLinkMobilitySmsSendPlugin(Optional<String> whitelistPrefixesOpt, Optional<Long> maxSmsPerMinute, LinkMobilitySmsWebServiceClient linkMobilitySmsWebServiceClient, io.vertigo.core.analytics.AnalyticsManager analyticsManager) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the sms accepted by this plugin.Sends a sms.
-
Constructor Details
-
LinkMobilitySmsSendPlugin
@Inject public LinkMobilitySmsSendPlugin(Optional<String> whitelistPrefixesOpt, Optional<Long> maxSmsPerMinute, LinkMobilitySmsWebServiceClient linkMobilitySmsWebServiceClient, io.vertigo.core.analytics.AnalyticsManager analyticsManager) Constructor.- Parameters:
whitelistPrefixesOpt- prefixes of phone numbers to acceptmaxSmsPerMinute- maximum number of SMS to send in a minute (LinkMobility reject if too fast)linkMobilitySmsWebServiceClient- SMS web service clientanalyticsManager- analytics manager
-
-
Method Details
-
acceptSms
Description copied from interface:SmsSendPluginIs the sms accepted by this plugin. Could be for region of the phone numnber, the quota limit of the plugin etc..- Specified by:
acceptSmsin interfaceSmsSendPlugin- Parameters:
sms- sms to send
-
sendSms
Description copied from interface:SmsSendPluginSends a sms.- Specified by:
sendSmsin interfaceSmsSendPlugin- Parameters:
sms- sms to send- Returns:
- a sending report
-
getConfiguration
-