|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.marre.sms.transport.pswincom.PsWinXmlTransport
Simple transport for the pswin xml protocol. See http://www.pswin.com/ for more information.
Available properties: smsj.pswincom.username smsj.pswincom.password smsj.pswincom.server - server address (default is "sms.pswin.com") smsj.pswincom.port - port (default is "1111")
Constructor Summary | |
PsWinXmlTransport()
|
Method Summary | |
void |
connect()
Connect. |
void |
disconnect()
Disconnect. |
void |
init(java.util.Properties props)
Initializes the pswin transport. |
void |
ping()
Ping. |
java.lang.String |
send(SmsMessage msg,
SmsAddress dest,
SmsAddress sender)
Send. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PsWinXmlTransport()
Method Detail |
public void init(java.util.Properties props) throws SmsException
init
in interface SmsTransport
props
- Properties used to configure this transport.
SmsException
- If there was a problem with the configuration.SmsTransport.init(java.util.Properties)
public java.lang.String send(SmsMessage msg, SmsAddress dest, SmsAddress sender) throws SmsException, java.io.IOException
send
in interface SmsTransport
msg
- dest
- sender
-
SmsException
java.io.IOException
org.marre.sms.transport.SmsTransport#send()
public void connect()
connect
in interface SmsTransport
SmsTransport.connect()
public void disconnect()
disconnect
in interface SmsTransport
SmsTransport.disconnect()
public void ping()
ping
in interface SmsTransport
SmsTransport.ping()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |