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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
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)
-
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
-