public abstract class Sender extends Object
offer(SMS) and send(SMS), which both send an SMS,
but the first one allows for some delay.
This class is abstract and must be extended. The method getInstance() returns one instance
of an extension. Which class is instantiated is determined by <config>utils/sms_sender.xml| Constructor and Description |
|---|
Sender() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
determinActive() |
static Sender |
getInstance() |
abstract Collection<SMS> |
getQueue() |
abstract boolean |
offer(SMS sms)
Offers an SMS for sending.
|
abstract boolean |
send(SMS sms)
Sends an SMS, immediately.
|
public abstract boolean send(SMS sms)
public abstract boolean offer(SMS sms)
public abstract Collection<SMS> getQueue()
protected static boolean determinActive()
public static Sender getInstance()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}