|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReconnectPolicy
Represents the reconnection policy for the library.
Each object should be used exclusively for one
ApnsService only.
| Nested Class Summary | |
|---|---|
static class |
ReconnectPolicy.Provided
Types of the library provided reconnection policies. |
| Method Summary | |
|---|---|
ReconnectPolicy |
copy()
Returns a deep copy of this reconnection policy, if needed. |
void |
reconnected()
Callback method to be called whenever the library makes a new connection |
boolean |
shouldReconnect()
Returns true if the library should initiate a new
connection for sending the message. |
| Method Detail |
|---|
boolean shouldReconnect()
true if the library should initiate a new
connection for sending the message.
The library calls this method at every message push.
void reconnected()
ReconnectPolicy copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||