public class Receiver extends Object implements Runnable
offer(SMS) which offers an SMS message to a
queue. This queue is emptied and offered to Handlers which are configured in <config
dir>utils/sms_handlers.xml.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONFIG_FILE |
| Modifier | Constructor and Description |
|---|---|
protected |
Receiver(String configFile) |
| Modifier and Type | Method and Description |
|---|---|
List<Handler> |
getHandlers() |
static Receiver |
getReceiver() |
protected static Receiver |
getReceiver(String config) |
static boolean |
offer(SMS sms)
Offers a SMS message for 'handling' by the SMS Handlers.
|
protected static boolean |
offer(String config,
SMS sms) |
void |
run()
Looks in the queue.
|
public static final String DEFAULT_CONFIG_FILE
protected Receiver(String configFile)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}