Init EZParkingGPRS project into Coding.net
This commit is contained in:
29
src/com/ezparking/gprs/OutboundNotification.java
Normal file
29
src/com/ezparking/gprs/OutboundNotification.java
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package com.ezparking.gprs;
|
||||
|
||||
import org.smslib.IOutboundMessageNotification;
|
||||
import org.smslib.OutboundMessage;
|
||||
|
||||
/**
|
||||
* @author qwsun
|
||||
*
|
||||
*/
|
||||
public class OutboundNotification implements IOutboundMessageNotification
|
||||
{
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see org.smslib.IOutboundMessageNotification#process(java.lang.String,
|
||||
* org.smslib.OutboundMessage)
|
||||
*/
|
||||
@Override
|
||||
public void process(String gatewayId, OutboundMessage msg)
|
||||
{
|
||||
System.out.println("Outbound handler called from Gateway: " + gatewayId);
|
||||
System.out.println(msg);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user