Notification SDK Server  4.31.0
The Notification SDK Server provides a library to send notification to various devices (iOS and Android)
NotificationSDKServerSettings Class Reference

Public Member Functions

 NotificationSDKServerSettings ()
 

Static Public Attributes

const int DEFAULT_THREAD_MAX_NUMBER = 20
 
const int DEFAULT_THREAD_TIMEOUT = 60000
 
const int DEFAULT_CONNECTION_TIMEOUT = 20000
 

Properties

int ThreadMaxNumber [get, set]
 
int ThreadTimeout [get, set]
 
int ConnectionTimeout [get, set]
 

Detailed Description

The NotificationSDKServerSettings object contains all the settings related to the NotificationSdkServer. It must be provided to the NotificationSDKServer#NotificationSDKServer(NotificationSDKServerCredentials, NotificationSDKServerSettings) method.

Constructor & Destructor Documentation

◆ NotificationSDKServerSettings()

Field Documentation

◆ DEFAULT_CONNECTION_TIMEOUT

const int DEFAULT_CONNECTION_TIMEOUT = 20000
static

Default timeout (in milliseconds) after which a sending connection should be closed

◆ DEFAULT_THREAD_MAX_NUMBER

const int DEFAULT_THREAD_MAX_NUMBER = 20
static

Default maximum number of threads allowed to run for sending push messages.

◆ DEFAULT_THREAD_TIMEOUT

const int DEFAULT_THREAD_TIMEOUT = 60000
static

Default timeout (in milliseconds) after which a thread sending a push message is cancelled

Property Documentation

◆ ConnectionTimeout

int ConnectionTimeout
getset

Timeout (in milliseconds) after which a sending connection should be closed. Must be greater than 0. Default value is NotificationSDKServerSettings#DEFAULT_CONNECTION_TIMEOUT.

◆ ThreadMaxNumber

int ThreadMaxNumber
getset

Maximum number of threads allowed to run for sending push messages. Must be greater than 0.
Default value is NotificationSDKServerSettings#DEFAULT_THREAD_MAX_NUMBER.

◆ ThreadTimeout

int ThreadTimeout
getset

Timeout (in milliseconds) after which a thread sending a push message is cancelled. Must be greater than 0.
Default value is NotificationSDKServerSettings#DEFAULT_THREAD_TIMEOUT.


The documentation for this class was generated from the following file: