Class WebsmsSmsClient
java.lang.Object
ch.tocco.nice2.optional.sms.impl.services.provider.WebsmsSmsClient
- All Implemented Interfaces:
SmsClient
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.sms.api.services.SmsClient
SmsClient.Sms, SmsClient.SmsRecipient, SmsClient.SmsResponse -
Constructor Summary
ConstructorsConstructorDescriptionWebsmsSmsClient(org.slf4j.Logger log, SmsParameterProvider parameterProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckSmsRecipient(Entity smsRecipient) Checks whether the given entity is a valid sms recipient for this SmsClient or notbooleancheckSmsResponse(SmsClient.SmsResponse smsResponse) Checks whether ths sms has been sent correctly or not.getName()sendSms(SmsClient.Sms sms, boolean simulateSms)
-
Constructor Details
-
WebsmsSmsClient
-
-
Method Details
-
getName
-
sendSms
-
checkSmsRecipient
Description copied from interface:SmsClientChecks whether the given entity is a valid sms recipient for this SmsClient or not- Specified by:
checkSmsRecipientin interfaceSmsClient- Returns:
- true if the given entity is a valid sms recipient
-
checkSmsResponse
Description copied from interface:SmsClientChecks whether ths sms has been sent correctly or not.- Specified by:
checkSmsResponsein interfaceSmsClient- Returns:
- true if the sms has been sent correctly.
-