ServerState

@Serializable
class ServerState(val allTimeDownload: Long, val allTimeUpload: Long, val averageTimeInQueue: Int, val connectionStatus: ConnectionStatus, val dhtNodes: Int, val dlInfoData: Long, val dlInfoSpeed: Long, val dlRateLimit: Long, val freeSpace: Long, val globalShareRatio: String, val queuedIoJobs: Int, val queueing: Boolean, val readCacheHits: String, val readCacheOverload: String, val refreshInterval: Int, val totalBuffersSize: Int, val totalPeerConnections: Int, val totalQueuedSize: Int, val sessionWaste: Long, val upInfoData: Long, val upInfoSpeed: Long, val upRateLimit: Int, val useAltSpeedLimits: Boolean, val writeCacheOverload: String)

Constructors

Link copied to clipboard
constructor(allTimeDownload: Long, allTimeUpload: Long, averageTimeInQueue: Int, connectionStatus: ConnectionStatus, dhtNodes: Int, dlInfoData: Long, dlInfoSpeed: Long, dlRateLimit: Long, freeSpace: Long, globalShareRatio: String, queuedIoJobs: Int, queueing: Boolean, readCacheHits: String, readCacheOverload: String, refreshInterval: Int, totalBuffersSize: Int, totalPeerConnections: Int, totalQueuedSize: Int, sessionWaste: Long, upInfoData: Long, upInfoSpeed: Long, upRateLimit: Int, useAltSpeedLimits: Boolean, writeCacheOverload: String)

Properties

Link copied to clipboard
@SerialName(value = "alltime_dl")
val allTimeDownload: Long

all time download (bytes)

Link copied to clipboard
@SerialName(value = "alltime_ul")
val allTimeUpload: Long

all time upload (bytes)

Link copied to clipboard
@SerialName(value = "average_time_queue")
val averageTimeInQueue: Int
Link copied to clipboard
@SerialName(value = "connection_status")
val connectionStatus: ConnectionStatus

Connection status

Link copied to clipboard
@SerialName(value = "dht_nodes")
val dhtNodes: Int
Link copied to clipboard
@SerialName(value = "dl_info_data")
val dlInfoData: Long

Data downloaded this session (bytes)

Link copied to clipboard
@SerialName(value = "dl_info_speed")
val dlInfoSpeed: Long

Global download rate (bytes/s)

Link copied to clipboard
@SerialName(value = "dl_rate_limit")
val dlRateLimit: Long

Download rate limit (bytes/s)

Link copied to clipboard
@SerialName(value = "free_space_on_disk")
val freeSpace: Long
Link copied to clipboard
@SerialName(value = "global_ratio")
val globalShareRatio: String
Link copied to clipboard
@SerialName(value = "queued_io_jobs")
val queuedIoJobs: Int
Link copied to clipboard

True if torrent queueing is enabled

Link copied to clipboard
@SerialName(value = "read_cache_hits")
val readCacheHits: String
Link copied to clipboard
@SerialName(value = "read_cache_overload")
val readCacheOverload: String
Link copied to clipboard
@SerialName(value = "refresh_interval")
val refreshInterval: Int

Transfer list refresh interval (milliseconds)

Link copied to clipboard
@SerialName(value = "total_wasted_session")
val sessionWaste: Long
Link copied to clipboard
@SerialName(value = "total_buffers_size")
val totalBuffersSize: Int
Link copied to clipboard
@SerialName(value = "total_peer_connections")
val totalPeerConnections: Int
Link copied to clipboard
@SerialName(value = "total_queued_size")
val totalQueuedSize: Int
Link copied to clipboard
@SerialName(value = "up_info_data")
val upInfoData: Long

Data uploaded this session (bytes)

Link copied to clipboard
@SerialName(value = "up_info_speed")
val upInfoSpeed: Long

Global upload rate (bytes/s)

Link copied to clipboard
@SerialName(value = "up_rate_limit")
val upRateLimit: Int

Upload rate limit (bytes/s)

Link copied to clipboard
@SerialName(value = "use_alt_speed_limits")
val useAltSpeedLimits: Boolean

True if alternative speed limits are enabled

Link copied to clipboard
@SerialName(value = "write_cache_overload")
val writeCacheOverload: String