         data.getBytes(status, range: NSRange(location: 1, length: 1))
         var ID: UInt32 = 0
         data.getBytes(ID, range: NSRange(location: 2, length: 4))
-        identifier = htonl(ID)
-        switch status {
+        let identifier = htonl(ID)
+        let notification = NWNotification.notifications[identifier]
+        notification.status =
+        /*switch status {
         case 1:
             try? NWErrorUtil.noWithErrorCode(kNWErrorAPNProcessing)
         case 2:

            try? NWErrorUtil.noWithErrorCode(kNWErrorAPNShutdown)
        default:
            try? NWErrorUtil.noWith(kNWErrorAPNUnknownErrorCode, reason: status)
        }
        
        return true
    }
    
    /** Read back multiple notification identifiers of, up to max, failed pushes. */
    func readFailedIdentifierErrorPairs(withMax max: Int, error: Error?) -> [Any] {
        var pairs: [Any] = []

    }
    
    /** Read back from the server the notification identifiers of failed pushes. */
    func readFailedIdentifier(callback:NotificationClosure) throws {
        identifier = 0
        var data = Data(length: MemoryLayout<UInt8>.size * 2 + MemoryLayout<UInt32>.size)
        var length: Int = 0
