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
ConstructorDescriptionWebsmsSmsClient
(org.slf4j.Logger log, SmsParameterProvider parameterProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkSmsRecipient
(Entity smsRecipient) Checks whether the given entity is a valid sms recipient for this SmsClient or notboolean
checkSmsResponse
(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:SmsClient
Checks whether the given entity is a valid sms recipient for this SmsClient or not- Specified by:
checkSmsRecipient
in interfaceSmsClient
- Returns:
- true if the given entity is a valid sms recipient
-
checkSmsResponse
Description copied from interface:SmsClient
Checks whether ths sms has been sent correctly or not.- Specified by:
checkSmsResponse
in interfaceSmsClient
- Returns:
- true if the sms has been sent correctly.
-