public class PushManagerConfiguration extends Object
PushManager
and its associated
ApnsConnection
s.Constructor and Description |
---|
PushManagerConfiguration()
Constructs a new push manager configuration object with all options set to their default values.
|
PushManagerConfiguration(PushManagerConfiguration configuration)
Constructs a new push manager configuration object with all options set to the values in the given configuration
object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getConcurrentConnectionCount()
Returns the number of concurrent connections to be maintained by push managers created with this configuration.
|
ApnsConnectionConfiguration |
getConnectionConfiguration()
Returns the configuration to be used for connections created by push managers created with this configuration.
|
FeedbackConnectionConfiguration |
getFeedbackConnectionConfiguration()
Returns the configuration to be used for connections to the APNs feedback service created by push managers with
this configuration.
|
int |
hashCode() |
void |
setConcurrentConnectionCount(int concurrentConnectionCount)
Sets the number of concurrent connections to be maintained by push managers created with this configuration.
|
void |
setConnectionConfiguration(ApnsConnectionConfiguration connectionConfiguration)
Sets the configuration to be used for connections created by push managers created with this configuration.
|
void |
setFeedbackConnectionConfiguration(FeedbackConnectionConfiguration feedbackConnectionConfiguration)
Sets the configuration to be used for connections to the APNs feedback service created by push managers with
this configuration.
|
public PushManagerConfiguration()
public PushManagerConfiguration(PushManagerConfiguration configuration)
configuration
- the configuration object to copypublic int getConcurrentConnectionCount()
public void setConcurrentConnectionCount(int concurrentConnectionCount)
concurrentConnectionCount
- the number of concurrent connections to be maintained by push managers created
with this configurationpublic ApnsConnectionConfiguration getConnectionConfiguration()
public void setConnectionConfiguration(ApnsConnectionConfiguration connectionConfiguration)
connectionConfiguration
- the configuration to be used for connections created by push managers created with
this configuration; must not be null
NullPointerException
- if the given connection configuration is null
public FeedbackConnectionConfiguration getFeedbackConnectionConfiguration()
public void setFeedbackConnectionConfiguration(FeedbackConnectionConfiguration feedbackConnectionConfiguration)
feedbackConnectionConfiguration
- the configuration to be used for connections to the APNs feedback service
created by push managers with this configuration; must not be null
NullPointerException
- if the given feedback connection configuration is null
Copyright © 2013–2015 RelayRides. All rights reserved.