Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from karldmoore/master
Builder and Delegate changes
- Loading branch information
Showing
4 changed files
with
87 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.notnoop.apns; | ||
|
||
/** | ||
* A NOOP delegate that does nothing! | ||
*/ | ||
public class ApnsDelegateAdapter implements ApnsDelegate { | ||
|
||
public void messageSent(ApnsNotification message, boolean resent) { | ||
} | ||
|
||
public void messageSendFailed(ApnsNotification message, Throwable e) { | ||
} | ||
|
||
public void connectionClosed(DeliveryError e, int messageIdentifier) { | ||
} | ||
|
||
public void cacheLengthExceeded(int newCacheLength) { | ||
} | ||
|
||
public void notificationsResent(int resendCount) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters