org.mmbase.sms.cmtelecom
Class CMTelecomSender
java.lang.Object
org.mmbase.sms.Sender
org.mmbase.sms.cmtelecom.CMTelecomSender
public class CMTelecomSender
- extends Sender
A realization of Sender, which communicates to a server implemented by
'cmtelecom'. (http://www.clubmessage.biz/).
- Version:
- $Id: CMTelecomSender.java 38483 2009-09-07 19:00:53Z nico $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
public static final Map<String,String> configuration
CMTelecomSender
public CMTelecomSender()
add
public void add(SMS s,
XmlWriter w)
throws SAXException
- Throws:
SAXException
send
protected void send(CMTelecomSender.Appender body,
String reference)
throws SAXException,
IOException
- Throws:
SAXException
IOException
send
protected void send(OutputStream out,
CMTelecomSender.Appender body,
String reference)
throws SAXException,
IOException
- Throws:
SAXException
IOException
send
protected void send(OutputStream out,
SMS sms)
throws SAXException,
IOException
- Throws:
SAXException
IOException
trigger
void trigger()
throws SAXException,
IOException
- Throws:
SAXException
IOException
send
public boolean send(SMS sms)
- Description copied from class:
Sender
- Sends an SMS, immediately.
- Specified by:
send in class Sender
offer
public boolean offer(SMS sms)
- Description copied from class:
Sender
- Offers an SMS for sending. It needs not do this immediately, but may collect some, and offer
them in batch to an SMS gateway.
- Specified by:
offer in class Sender
getQueue
public Collection<SMS> getQueue()
- Specified by:
getQueue in class Sender
main
public static void main(String[] argv)
throws Exception
- Main for testing only
- Throws:
Exception
MMBase 2.0-SNAPSHOT - null