|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PushSDKProperties
Interface that defines operations to encapsulate access to the push SDK properties.
| Method Summary | |
|---|---|
int |
getAcknowledgementBatchSize()
Gets the maximum number of result notifications in a batch for processing. |
int |
getAcknowledgementMaxQueueSize()
Gets the maximum size of the result notification queue before it starts rejecting new notifications. |
int |
getAcknowledgementMaxThreads()
Gets the maximum number of threads for processing the result notification queue and notifying listeners. |
int |
getAcknowledgementPushLookupRetryDelay()
Gets the time in milliseconds to delay, after looking up and not finding the push request detail that corresponds to a result notification, before retrying the lookup. |
String |
getDatabaseType()
Gets the type of database that the SDK is working with. |
long |
getDefaultDeliverBeforeTimestampOffset()
Gets the default deliver before timestamp offset. |
String |
getDtdDeclarationEnterprise()
Returns the DTD declaration to use when constructing XML to send to the enterprise (BES) PPG (this property is not related to parsing XML sent from the PPG). |
String |
getDtdDeclarationPublic()
Returns the DTD declaration to use when constructing XML to send to the public (BIS) PPG (this property is not related to parsing XML sent from the PPG). |
String |
getEnterprisePpgAddress()
Gets the push submission URL of the enterprise (BES) PPG. |
int |
getHttpConnectionTimeout()
Gets the connection timeout for the HTTP client in milliseconds. |
boolean |
getHttpIsPersistent()
Gets whether persistent connections are used by the HTTP client. |
int |
getHttpReadTimeout()
Gets the read timeout for the HTTP client in milliseconds. |
int |
getMaxInClauseValues()
Gets the maximum number of SQL IN clause parameters allowed by the DB implementation being used (e.g. |
char[] |
getParserSpecialCharacters()
Gets the parser special characters that should be avoided when specifying values of PAP message elements. |
String |
getPpgAddress()
Deprecated. As of release 1.1, replaced by getPublicPpgAddress() or getEnterprisePpgAddress(). |
String |
getPublicPpgAddress()
Gets the push submission URL of the public (BIS) PPG. |
int |
getPushAppDeleteUnsubscribeQueueSize()
Gets the size of the queue for unsubscribes performed for a hard application delete. |
int |
getPushAppDeleteUnsubscribeTimeout()
Gets the timeout (in minutes) for unsubscribes performed for a hard application delete. |
int |
getPushAppSubscriberDeleteTimeout()
Gets the timeout (in minutes) for subscriber deletions performed for a hard application delete. |
int |
getPushRequestDetailFindMaxResults()
Gets the max. |
int |
getPushStatsUpdateFrequency()
Gets the time frequency (in seconds) with which push statistics are updated. |
int |
getPushStatsUpdateQueueSize()
Gets the maximum size of the queue used in batch updating of push statistics. |
int |
getRegeneratePushIdMaxAttempts()
Gets the maximum number of attempts to generate unique push ids before giving up. |
String |
getSubscriptionDeregistrationUrl()
Gets the subscriber deregistration URL for public (BIS) pushes. |
int |
getSubscriptionFindMaxResults()
Gets the maximum number of results returned by a subscriber find operation. |
int |
getSubscriptionMatchingMaxThreads()
Gets the maximum number of threads to use for subscription matching (used in subscription validation). |
int |
getSubscriptionMatchingQueueSize()
Gets the size of the queue for large subscription validation/subscription matching. |
int |
getSubscriptionPPGSyncBatchSize()
Gets the size of the batches for syncing subscription statuses with the PPG. |
int |
getSubscriptionPPGSyncMaxThreads()
Gets the maximum number of threads to use in syncing subscription statuses with the PPG. |
int |
getSubscriptionPPGSyncQueueSize()
Gets the size of the queue used in syncing subscription statuses with the PPG. |
int |
getSubscriptionPPGSyncTimeout()
Gets the timeout (in minutes) used in syncing subscription statuses with the PPG. |
String |
getSubscriptionQueryUrl()
Gets the URL associated with subscription status queries for public (BIS) pushes. |
String |
getSubscriptionResumeUrl()
Gets the resume subscription URL for public (BIS) pushes. |
String |
getSubscriptionSuspendUrl()
Gets the suspend subscription URL for public (BIS) pushes. |
int |
getSubscriptionValidationBatchSize()
Gets the number of subscribers to load at once from the database to validate. |
int |
getSubscriptionValidationHighWaterMark()
Gets the subscription validation high water mark. |
String |
getWebsignalsDeregistrationUrl()
Gets the subscriber deregistration URL for Web Signals. |
String |
getWebsignalsRegistrationUrl()
Gets the Web Signals registration URL (a PPG URL). |
String |
getWebsignalsResumeUrl()
Gets the resume subscription URL for Web Signals. |
String |
getWebsignalsSuspendUrl()
Gets the suspend subscription URL for Web Signals. |
boolean |
isUsingPublicPush()
Deprecated. As of release 1.1, replaced by PapControl.isUsingPublicPush() if using the
low-level PAP APIs, and PushApplication.getType() or
SubscriberPartial.getType() if using the high-level APIs. |
boolean |
isUsingXmlParserDtdValidation()
Deprecated. As of release 1.1, DTD validation is not supported, and this method returns false. |
void |
setAcknowledgementBatchSize(int value)
Sets the maximum number of result notifications in a batch for processing. |
void |
setAcknowledgementMaxQueueSize(int value)
Sets the maximum size of the result notification queue before it starts rejecting new notifications. |
void |
setAcknowledgementMaxThreads(int value)
Sets the maximum number of threads for processing the result notification queue and notifying listeners. |
void |
setAcknowledgementPushLookupRetryDelay(int value)
Sets the time in milliseconds to delay, after looking up and not finding the push request detail that corresponds to a result notification, before retrying the lookup. |
void |
setDatabaseType(String value)
Sets the type of database that the SDK is working with. |
void |
setDefaultDeliverBeforeTimestampOffset(long value)
Sets the default deliver before timestamp offset. |
void |
setDtdDeclarationEnterprise(String value)
Sets the DTD declaration to use when constructing XML to send to the enterprise (BES) PPG (this property is not related to parsing XML sent from the PPG). |
void |
setDtdDeclarationPublic(String value)
Sets the DTD declaration to use when constructing XML to send to the public (BIS) PPG (this property is not related to parsing XML sent from the PPG). |
void |
setEnterprisePpgAddress(String value)
Sets the push submission URL of the enterprise (BES) PPG. |
void |
setHttpConnectionTimeout(int value)
Sets the connection timeout for the HTTP client in milliseconds. |
void |
setHttpIsPersistent(boolean value)
Sets whether persistent connections are used by the HTTP client. |
void |
setHttpReadTimeout(int value)
Sets the read timeout for the HTTP client in milliseconds. |
void |
setMaxInClauseValues(int value)
Sets the maximum number of SQL IN clause parameters allowed by the DB implementation being used (e.g. |
void |
setParserSpecialCharacters(char[] value)
Sets the parser special characters that should be avoided when specifying values of PAP message elements. |
void |
setPpgAddress(String value)
Deprecated. As of release 1.1, replaced by setPublicPpgAddress(String) or setEnterprisePpgAddress(String)
. |
void |
setPublicPpgAddress(String value)
Sets the push submission URL of the public (BIS) PPG. |
void |
setPushAppDeleteUnsubscribeQueueSize(int size)
Sets the size of the queue for unsubscribes performed for a hard application delete. |
void |
setPushAppDeleteUnsubscribeTimeout(int timeout)
Sets the timeout (in minutes) for unsubscribes performed for a hard application delete. |
void |
setPushAppSubscriberDeleteTimeout(int timeout)
Sets the timeout (in minutes) for subscriber deletions performed for a hard application delete. |
void |
setPushRequestDetailFindMaxResults(int value)
Sets the max. |
void |
setPushStatsUpdateFrequency(int value)
Sets the time frequency (in seconds) with which push statistics are updated. |
void |
setPushStatsUpdateQueueSize(int value)
Sets the maximum size of the queue used in batch updating of push statistics. |
void |
setRegeneratePushIdMaxAttempts(int value)
Sets the maximum number of attempts to generate unique push ids before giving up. |
void |
setSubscriptionDeregistrationUrl(String value)
Sets the subscriber deregistration URL for public (BIS) pushes. |
void |
setSubscriptionFindMaxResults(int value)
Sets the maximum number of results returned by a subscriber find operation. |
void |
setSubscriptionMatchingMaxThreads(int value)
Sets the maximum number of threads to use for subscription matching (used in subscription validation). |
void |
setSubscriptionMatchingQueueSize(int size)
Sets the size of the queue for large subscription validation/subscription matching. |
void |
setSubscriptionPPGSyncBatchSize(int size)
Sets the size of the batches for syncing subscription statuses with the PPG. |
void |
setSubscriptionPPGSyncMaxThreads(int value)
Sets the maximum number of threads to use in syncing subscription statuses with the PPG. |
void |
setSubscriptionPPGSyncQueueSize(int size)
Sets the size of the queue used in syncing subscription statuses with the PPG. |
void |
setSubscriptionPPGSyncTimeout(int timeout)
Sets the timeout (in minutes) used in syncing subscription statuses with the PPG. |
void |
setSubscriptionQueryUrl(String url)
Sets the URL associated with subscription status queries for public (BIS) pushes. |
void |
setSubscriptionResumeUrl(String value)
Sets the resume subscription URL for public (BIS) pushes. |
void |
setSubscriptionSuspendUrl(String value)
Sets the suspend subscription URL for public (BIS) pushes. |
void |
setSubscriptionValidationBatchSize(int value)
Sets the number of subscribers to load at once from the database to validate. |
void |
setSubscriptionValidationHighWaterMark(int value)
Sets the subscription validation high water mark. |
void |
setUsingPublicPush(boolean value)
Deprecated. As of release 1.1, replaced by PapControl.setUsingPublicPush(boolean) if
using the low-level PAP APIs, and
PushApplication.setType(net.rim.pushsdk.pushappmgmt.PushApplicationType) or
SubscriberPartial.setType(net.rim.pushsdk.subscription.SubscriberType) if
using the high-level APIs. |
void |
setUsingXmlParserDtdValidation(boolean value)
Deprecated. As of release 1.1, DTD validation is not supported, and this method has no effect. |
void |
setWebsignalsDeregistrationUrl(String value)
Sets the subscriber deregistration URL for Web Signals. |
void |
setWebsignalsRegistrationUrl(String websignalsRegistrationUrl)
Sets the Web Signals registration URL (a PPG URL). |
void |
setWebsignalsResumeUrl(String value)
Sets the resume subscription URL for Web Signals. |
void |
setWebsignalsSuspendUrl(String value)
Sets the suspend subscription URL for Web Signals. |
| Method Detail |
|---|
String getDatabaseType()
void setDatabaseType(String value)
value - the database typeint getMaxInClauseValues()
void setMaxInClauseValues(int value)
value - the max. number of SQL IN clause parameters@Deprecated boolean isUsingPublicPush()
PapControl.isUsingPublicPush() if using the
low-level PAP APIs, and PushApplication.getType() or
SubscriberPartial.getType() if using the high-level APIs.
@Deprecated void setUsingPublicPush(boolean value)
PapControl.setUsingPublicPush(boolean) if
using the low-level PAP APIs, and
PushApplication.setType(net.rim.pushsdk.pushappmgmt.PushApplicationType) or
SubscriberPartial.setType(net.rim.pushsdk.subscription.SubscriberType) if
using the high-level APIs.
value - true if using a public (BIS) push; false otherwise@Deprecated String getPpgAddress()
getPublicPpgAddress() or getEnterprisePpgAddress().
String getPublicPpgAddress()
String getEnterprisePpgAddress()
@Deprecated void setPpgAddress(String value)
setPublicPpgAddress(String) or setEnterprisePpgAddress(String)
.
isUsingPublicPush()).
value - the PPG addressvoid setPublicPpgAddress(String value)
value - the public (BIS) PPG addressvoid setEnterprisePpgAddress(String value)
value - the enterprise (BES) PPG addresslong getDefaultDeliverBeforeTimestampOffset()
void setDefaultDeliverBeforeTimestampOffset(long value)
value - the default deliver before timestamp offset@Deprecated boolean isUsingXmlParserDtdValidation()
@Deprecated void setUsingXmlParserDtdValidation(boolean value)
value - true if DTD validation should be done; false otherwisechar[] getParserSpecialCharacters()
void setParserSpecialCharacters(char[] value)
value - the char array of parser special charactersint getRegeneratePushIdMaxAttempts()
void setRegeneratePushIdMaxAttempts(int value)
value - the max. number of attempts to generate unique push ids forint getPushRequestDetailFindMaxResults()
IllegalArgumentException will be thrown if an attempt is made in these find methods to request
results above this number.
void setPushRequestDetailFindMaxResults(int value)
IllegalArgumentException will be thrown if an attempt is made in these find methods to request
results above this number.
value - the max. number of results returned by a push request detail find operationint getAcknowledgementMaxQueueSize()
void setAcknowledgementMaxQueueSize(int value)
value - the max. size of the result notification queue before it starts rejecting new notificationsint getAcknowledgementMaxThreads()
void setAcknowledgementMaxThreads(int value)
value - the max. number of threads for processing the result notification queue and notifying listenersint getAcknowledgementBatchSize()
void setAcknowledgementBatchSize(int value)
value - the max. number of result notifications in a batch for processingint getAcknowledgementPushLookupRetryDelay()
void setAcknowledgementPushLookupRetryDelay(int value)
value - the time in milliseconds to delay before attempting to lookup a push request detail againint getSubscriptionValidationHighWaterMark()
void setSubscriptionValidationHighWaterMark(int value)
value - the subscription validation high water markint getSubscriptionValidationBatchSize()
void setSubscriptionValidationBatchSize(int value)
value - the number of subscribers to load at once from the database to validateString getSubscriptionDeregistrationUrl()
void setSubscriptionDeregistrationUrl(String value)
value - the subscriber deregistration URLString getSubscriptionSuspendUrl()
void setSubscriptionSuspendUrl(String value)
value - the suspend subscription URLString getSubscriptionResumeUrl()
void setSubscriptionResumeUrl(String value)
value - the resume subscription URLint getSubscriptionMatchingMaxThreads()
void setSubscriptionMatchingMaxThreads(int value)
value - the max. number of threads to use for subscription matchingint getSubscriptionFindMaxResults()
IllegalArgumentException will be thrown if an attempt is made in these find methods to request
results above this number.
void setSubscriptionFindMaxResults(int value)
IllegalArgumentException will be thrown if an attempt is made in these find methods to request
results above this number.
value - the max. number of results returned by a subscriber find operationint getHttpConnectionTimeout()
void setHttpConnectionTimeout(int value)
value - the connection timeoutint getHttpReadTimeout()
void setHttpReadTimeout(int value)
value - the read timeoutboolean getHttpIsPersistent()
void setHttpIsPersistent(boolean value)
value - true if persistent connections are used; false otherwiseint getPushAppDeleteUnsubscribeQueueSize()
void setPushAppDeleteUnsubscribeQueueSize(int size)
size - the queue size for unsubscribesint getPushAppDeleteUnsubscribeTimeout()
void setPushAppDeleteUnsubscribeTimeout(int timeout)
timeout - the amount of time to wait before throwing an exceptionint getPushAppSubscriberDeleteTimeout()
void setPushAppSubscriberDeleteTimeout(int timeout)
timeout - the amount of time to wait before throwing an exceptionint getSubscriptionMatchingQueueSize()
void setSubscriptionMatchingQueueSize(int size)
size - the queue sizeint getSubscriptionPPGSyncBatchSize()
void setSubscriptionPPGSyncBatchSize(int size)
size - the batch sizeString getSubscriptionQueryUrl()
void setSubscriptionQueryUrl(String url)
url - the subscription query URLint getSubscriptionPPGSyncQueueSize()
void setSubscriptionPPGSyncQueueSize(int size)
size - the queue sizeint getSubscriptionPPGSyncTimeout()
void setSubscriptionPPGSyncTimeout(int timeout)
timeout - the processing time allowed before timing out and throwing an exceptionint getSubscriptionPPGSyncMaxThreads()
void setSubscriptionPPGSyncMaxThreads(int value)
value - the max. number of threads to use for subscription status syncingint getPushStatsUpdateFrequency()
void setPushStatsUpdateFrequency(int value)
value - the push stats update frequencyint getPushStatsUpdateQueueSize()
void setPushStatsUpdateQueueSize(int value)
value - the push stats queue sizeString getWebsignalsRegistrationUrl()
void setWebsignalsRegistrationUrl(String websignalsRegistrationUrl)
websignalsRegistrationUrl - the Web Signals registration URLString getWebsignalsDeregistrationUrl()
void setWebsignalsDeregistrationUrl(String value)
value - the Web Signals subscriber deregistration URLString getWebsignalsSuspendUrl()
void setWebsignalsSuspendUrl(String value)
value - the Web Signals suspend subscription URLString getWebsignalsResumeUrl()
void setWebsignalsResumeUrl(String value)
value - the Web Signals resume subscription URLString getDtdDeclarationPublic()
void setDtdDeclarationPublic(String value)
value - the DTD declarationString getDtdDeclarationEnterprise()
void setDtdDeclarationEnterprise(String value)
value - the DTD declaration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||