Interface SmsClient
- All Known Implementing Classes:
DummySmsClient
,WebsmsSmsClient
public interface SmsClient
This interface declares the methods which every SMS client needs to implement
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
-
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)
-
Method Details
-
getName
String getName() -
sendSms
-
checkSmsResponse
Checks whether ths sms has been sent correctly or not.- Returns:
- true if the sms has been sent correctly.
-
checkSmsRecipient
Checks whether the given entity is a valid sms recipient for this SmsClient or not- Returns:
- true if the given entity is a valid sms recipient
-