* Check the feedback service.
* @throws APNException
*/
public static void checkFeedback() throws APNException
{
APNFeedBackService service = new APNFeedBackService();
service.initConnexion("<path to cert.p12>", "<password>", "PKCS12");
List<APNFeedBackService.ObsoleteDevice> devices = service.retreiveObsoleteDevices();
service.endConnection();
for(APNFeedBackService.ObsoleteDevice device : devices){
System.out.println(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(device.getTimestamp().getTime()) + " > " + device.getToken());
}
}