Module: thaliNotificationClient

Classes

ThaliNotificationClient

Events

event:peerAdvertisesDataForUs

Fired whenever we discover a peer who is looking for us.

Type:
  • Object
Properties:
Name Type Description
keyId buffer

The buffer contains the HKey as defined here.

pskIdentifyField string

This is the value to put in the PSK identity field of the ClientKeyExchange message when establishing a TLS connection using PSK. This value is generated

psk buffer

This is the calculated pre-shared key that will be needed to establish a TLS PSK connection.

hostAddress string

The IP/DNS address of the peer

portNumber number

The TCP/IP port at the hostAddress the peer can be contacted on

suggestedTCPTimeout number

Provides a hint to what time out to put on the TCP connection. For some transports a handshake can take quite a long time.

Source: