Source Structure

A Source structure is returned from getSourcesAsync(). A “source” is a JetStream sending server, from the viewpoint of a receiving server.

activeTransferCount

The number of active transfers originating from a source.

aveRecvRate

The average transfer rate for all transfers on a source, in kilobits-per-second.

aveRecvRateWindow

The transfer rate measured within a “window” of time, in kilobits-per-second. This shows the performance “right now”.

completeTransferCount

The number of completed transfers from a source.

destinationPublicKey

The public key for this destination. This public key must be specified for encrypted transfers to this server.

encryptedConnectionState

Describes the state of the encryption negotiation, if using an encrypted connection. The value may be one of:

  • disconnected

  • negotiating

  • connected

encryptionEnabled

True if the server has encryption enabled (always on).

errorTransferCount

The number of failed transfers from a source.

inactiveTransferCount

The number of inactive transfers originating from a source.

sourceIP

The IP for a source (i.e. the sending server).

sourcePort

The port on which the source (i.e. sending server) is connected.