Package | Description |
---|---|
com.notnoop.apns | |
com.notnoop.apns.internal |
Modifier and Type | Method and Description |
---|---|
ReconnectPolicy |
ReconnectPolicy.copy()
Returns a deep copy of this reconnection policy, if needed.
|
Modifier and Type | Method and Description |
---|---|
ApnsServiceBuilder |
ApnsServiceBuilder.withReconnectPolicy(ReconnectPolicy rp)
Specify the reconnection policy for the socket connection.
|
Modifier and Type | Class and Description |
---|---|
static class |
ReconnectPolicies.Always |
static class |
ReconnectPolicies.EveryHalfHour |
static class |
ReconnectPolicies.Never |
Constructor and Description |
---|
ApnsConnectionImpl(SocketFactory factory,
String host,
int port,
Proxy proxy,
String proxyUsername,
String proxyPassword,
ReconnectPolicy reconnectPolicy,
ApnsDelegate delegate,
boolean errorDetection,
ThreadFactory tf,
int cacheLength,
boolean autoAdjustCacheLength,
int readTimeout,
int connectTimeout) |
Copyright © 2015. All rights reserved.