public interface ReconnectPolicy
ApnsService only.| Modifier and Type | Interface and Description |
|---|---|
static class |
ReconnectPolicy.Provided
Types of the library provided reconnection policies.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
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()
Copyright © 2015. All rights reserved.