TransferStub

interface TransferStub : StatefulSyncableStub

Functions

Link copied to clipboard
open fun accept(savePath: String)
Link copied to clipboard
open fun cleanUp()
Link copied to clipboard
open fun dataReceived(peer: ULong, data: ByteBuffer)
Link copied to clipboard
abstract fun fromVariantMap(properties: QVariantMap)
Link copied to clipboard
open fun reject()
Link copied to clipboard
open fun requestAccepted(peer: ULong)
Link copied to clipboard
open fun requestRejected(peer: ULong)
Link copied to clipboard
open override fun requestUpdate(properties: QVariantMap)

Replaces all properties of the object with the content of the "properties" parameter. This parameter is in network representation.

Link copied to clipboard
open fun rpc(target: ProtocolSide, function: String, vararg arg: QVariant_)
Link copied to clipboard
open fun setAddress(address: InetAddress)
Link copied to clipboard
open fun setDirection(direction: TransferDirection)
Link copied to clipboard
open fun setError(errorString: String)
Link copied to clipboard
open fun setFileName(fileName: String)
Link copied to clipboard
open fun setFileSize(fileSize: ULong)
Link copied to clipboard
open fun setNick(nick: String)
Link copied to clipboard
open fun setPort(port: UShort)
Link copied to clipboard
open fun setStatus(status: TransferStatus)
Link copied to clipboard
open fun sync(target: ProtocolSide, function: String, vararg arg: QVariant_)
Link copied to clipboard
abstract fun toVariantMap(): QVariantMap
Link copied to clipboard
open override fun update(properties: QVariantMap)

Replaces all properties of the object with the content of the "properties" parameter. This parameter is in network representation.

Properties

Link copied to clipboard
abstract val className: String
Link copied to clipboard
abstract var initialized: Boolean
Link copied to clipboard
abstract val objectName: String
Link copied to clipboard
abstract val session: Session?