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

The NotificationSDKServerSettings object contains all the settings related to the NotificationSdkServer.
It must be provided to the NotificationSDKServer constructor. More...

Public Member Functions

 NotificationSDKServerSettings ()
 Creates a NotificationSDKServerSettings object. More...
 

Static Public Attributes

const int DEFAULT_THREAD_MAX_NUMBER = 20
 Default maximum number of threads allowed to run for sending push messages. More...
 
const int DEFAULT_THREAD_TIMEOUT = 60000
 Default timeout (in milliseconds) after which a thread sending a push message is cancelled More...
 
const int DEFAULT_CONNECTION_TIMEOUT = 20000
 Default timeout (in milliseconds) after which a sending connection should be closed. More...
 

Properties

int ThreadMaxNumber [get, set]
 Maximum number of threads allowed to run for sending push messages. Must be greater than 0.
Default value is DEFAULT_THREAD_MAX_NUMBER. More...
 
int ThreadTimeout [get, set]
 Timeout (in milliseconds) after which a thread sending a push message is cancelled. Must be greater than 0.
Default value is DEFAULT_THREAD_TIMEOUT. More...
 
int ConnectionTimeout [get, set]
 Timeout (in milliseconds) after which a sending connection should be closed. Must be greater than 0.
Default value is DEFAULT_CONNECTION_TIMEOUT. More...
 

Detailed Description

The NotificationSDKServerSettings object contains all the settings related to the NotificationSdkServer.
It must be provided to the NotificationSDKServer constructor.

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 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 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 DEFAULT_THREAD_TIMEOUT.


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