Interface SmsSender
- All Known Implementing Classes:
LoggingSmsSender,SnsSmsSender,TwilioSmsSender
public interface SmsSender
Port that sends a text message through a gateway. No gateway type crosses it.
-
Method Summary
-
Method Details
-
send
Sends a text message.- Parameters:
to- recipient.text- text of the message.- Throws:
SmsDeliveryException- if the gateway failed or refused the message.
-