# Class: MoneroDaemonConnection

## MoneroDaemonConnection()

Monero daemon connection.

## Constructor

#### new MoneroDaemonConnection()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 6

### Methods

#### getAvgDownload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 37

#### getAvgUpload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 46

#### getCurrentDownload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 55

#### getCurrentUpload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 64

#### getHeight()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 73

#### getId()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 28

#### getLiveTime()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 91

#### getNumReceives()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 118

#### getNumSends()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 127

#### getNumSupportFlags()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 163

#### getPeer()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 19

#### getReceiveIdleTime()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 136

#### getSendIdleTime()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 145

#### getState()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 154

#### getType()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 172

#### isIncoming()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 82

#### isLocalHost()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 109

#### isLocalIp()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 100

#### setAvgDownload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 41

#### setAvgUpload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 50

#### setCurrentDownload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 59

#### setCurrentUpload()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 68

#### setHeight()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 77

#### setId()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 32

#### setIsIncoming()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 86

#### setIsLocalHost()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 113

#### setIsLocalIp()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 104

#### setLiveTime()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 95

#### setNumReceives()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 122

#### setNumSends()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 131

#### setNumSupportFlags()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 167

#### setPeer()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 23

#### setReceiveIdleTime()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 140

#### setSendIdleTime()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 149

#### setState()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 158

#### setType()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 176

#### toJson()

Source:
  - src/main/js/daemon/model/MoneroDaemonConnection.js, line 13