Dear all,
I write the InboundNotification same the sample in smslib.
But i don't get DestinationAddress of InboundMessage.
please help me.
thanks.


public class InboundNotification implements
IInboundMessageNotification {
  private Logger logger = Logger.getLogger(getClass());

  @Override
  public void process(AGateway gateway, Message.MessageTypes msgType,
InboundMessage msg) {
    if (msgType == Message.MessageTypes.INBOUND)    {
      logger.info(">>> New Inbound message detected from Gateway: " +
gateway.getGatewayId());
    }
    else if (msgType == Message.MessageTypes.STATUSREPORT)   {
      logger.info(">>> New Inbound Status Report message detected from
Gateway: " + gateway.getGatewayId());
    }
      logger.info(msg);
  }
}

-- 
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.

Reply via email to