ClientConfig

ClientConfig

Client configuration data

Constructor

new ClientConfig(configManager, fileName) → {ClientConfig}

Source:
Parameters:
Name Type Description
configManager ConfigurationManager ConfigurationManager instance
fileName string The path to the config file
Returns:
Type:
ClientConfig

Members

_clientId :string

Source:
Type:
  • string

_dateAdded :Date

Source:
Type:
  • Date

_friendlyName :string

Source:
Type:
  • string

_IPAddress :IPAddress

Last known IP address of the client
Source:
Type:

_pairId :string

Source:
Type:
  • string

_pairKey :string

Source:
Type:
  • string

clientId

Unique client identifier (provided by the client)
Source:

clipboardSettings :ClipboardSettings

Clipboard settings, synced between the two devices (you have to call client.syncSettings())
Source:
Type:

dateAdded :Date

Date the client and server paired
Source:
Type:
  • Date

dateAdded

Source:

fileSharingSettings :FileSharingSettings

File sharing settings settings, synced between the two devices (you have to call client.syncSettings())
Source:
Type:

friendlyName :string

Display name of the client (John's Phone)
Source:
Type:
  • string

IPAddress

The last known IP address of the client
Source:

IPAddress

Source:

isPaired :boolean

Pair key and pair id set
Source:
Type:
  • boolean

notificationSettings :NotificationSettings

Notification settings, synced between the two devices (you have to call client.syncSettings())
Source:
Type:

pairId :string

UUID representing the unique pair between this server and the client
Source:
Type:
  • string

pairKey :string

Unique pair key shared by the two devices, used to verify a client
Source:
Type:
  • string

Methods

fromJSON()

Source:

toJSON()

Source: