Hi all,
I have set up a class that implements IGatewayStatusNotification:
public class ModemStatusUpdater
extends Thread
implements IGatewayStatusNotification
{
@Override
public void process(AGateway gateway, GatewayStatuses oldStatus,
GatewayStatuses newStatus)
{
System.out.println("ModemStatusUpdater.process(AGateway,
GatewayStatus):"
+ gateway.getGatewayId() + " " + oldStatus + "->" +
newStatus);
}
@Override
public void run()
{
keepRunning = true;
Service.getInstance().setGatewayStatusNotification(this);
while (keepRunning)
{
// do stuff
}
}
I am able to successfully send and receive SMS messages, but the
callback is never called. I want to ensure that a message is actually
sent (in the case of a SIM with little or no minutes left on it) and
am hoping that process() will help me do this.
thanks in advance,
Jordan
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/smslib?hl=en.