com.knowgate.sms
Class SMSPushEMail
java.lang.Object
com.knowgate.sms.SMSPush
com.knowgate.sms.SMSPushEMail
public class SMSPushEMail
- extends SMSPush
|
Method Summary |
void |
close()
Close SMS HTTP Push Connection |
void |
connect(java.lang.String sHost,
java.lang.String sUser,
java.lang.String sPass,
java.util.Properties oConnectionProps)
Conect to SMS HTTP Push Platform |
SMSResponse |
push(SMSMessage oSms)
Send Plain Text SMS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMSPushEMail
public SMSPushEMail()
connect
public void connect(java.lang.String sHost,
java.lang.String sUser,
java.lang.String sPass,
java.util.Properties oConnectionProps)
throws java.io.IOException,
java.sql.SQLException,
java.net.MalformedURLException
- Description copied from class:
SMSPush
- Conect to SMS HTTP Push Platform
- Specified by:
connect in class SMSPush
- Parameters:
sHost - String Connection URLsUser - String UsersPass - String Password
- Throws:
java.io.IOException
java.net.MalformedURLException
java.sql.SQLException
push
public SMSResponse push(SMSMessage oSms)
throws java.io.IOException,
java.sql.SQLException,
java.lang.IllegalArgumentException,
java.io.UnsupportedEncodingException
- Description copied from class:
SMSPush
- Send Plain Text SMS
- Specified by:
push in class SMSPush
- Returns:
- SMSResponse
- Throws:
java.io.IOException
java.lang.IllegalArgumentException - If MSISDN or text are malformed or dtWhenMustBeSend is before now
java.sql.SQLException
java.io.UnsupportedEncodingException
close
public void close()
throws java.io.IOException,
java.sql.SQLException
- Description copied from class:
SMSPush
- Close SMS HTTP Push Connection
- Specified by:
close in class SMSPush
- Throws:
java.io.IOException
java.sql.SQLException