public interface SmsSender
Port that sends a text message through a gateway. No gateway type crosses it.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    send(PhoneNumber to, String text)
    Sends a text message.
  • Method Details

    • send

      void send(PhoneNumber to, String text)
      Sends a text message.
      Parameters:
      to - recipient.
      text - text of the message.
      Throws:
      SmsDeliveryException - if the gateway failed or refused the message.