All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.atkawa7.kannel.sms.clients.SmsSender Maven / Gradle / Ivy

package io.github.atkawa7.kannel.sms.clients;

import io.github.atkawa7.kannel.sms.SendStatus;
import io.github.atkawa7.kannel.sms.Sms;

import java.net.URL;

public abstract   class SmsSender {
    protected URL smsbox;
    protected final SmsClient smsClient;

    protected SmsSender(URL smsbox, SmsClient smsClient) {
        this.smsbox = smsbox;
        this.smsClient = smsClient;
    }

    public URL getSmsbox() {
        return smsbox;
    }

    public void setSmsbox(URL smsbox) {
        this.smsbox = smsbox;
    }

    public SmsClient getSmsClient() {
        return smsClient;
    }

    protected abstract SendStatus send(Sms sms) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy