public class SMSPull
extends java.lang.Object
Constructor and Description |
---|
SMSPull() |
Modifier and Type | Method and Description |
---|---|
void |
acknowledge(SMSResponse oRsp) |
void |
close()
Close JDBC connection to database
|
void |
connect(java.lang.String sDataSource,
java.lang.String sUser,
java.lang.String sPassword)
Connect to JDBC DataSource for storing incoming messages and notifications
|
void |
receive(SMSMessage oMsg)
Store an incoming message at the database
|
public void connect(java.lang.String sDataSource, java.lang.String sUser, java.lang.String sPassword) throws java.sql.SQLException
sDataSource
- String Name of properties file for connecting to database (typically "hipergate")sUser
- String GUID of user from k_users tablesPassword
- String User's passwords from k_users tablejava.sql.SQLException
public void close() throws java.sql.SQLException
java.sql.SQLException
public void receive(SMSMessage oMsg) throws java.sql.SQLException
oMsg
- SMSMessagejava.sql.SQLException
public void acknowledge(SMSResponse oRsp) throws java.sql.SQLException
java.sql.SQLException