CSPingMultiProcess

open class CSPingMultiProcess<Data : Any> : CSMultiProcessBase<Data>

Constructors

Link copied to clipboard
fun <Data : Any> CSPingMultiProcess(server: CSServerWithPing, onPingDone: () -> CSProcessBase<Data>)
Link copied to clipboard
fun <Data : Any> CSPingMultiProcess(    server: CSServerWithPing,     data: Data?,     onPingDone: CSMultiProcessBase<Data>.() -> Unit)

Functions

Link copied to clipboard
fun <V : Any> add(process: CSProcessBase<V>, isLast: Boolean): CSProcessBase<V>
fun <V : Any> add(process: CSProcessBase<V>, onSuccess: ArgFunc<CSProcessBase<V>>? = null): CSProcessBase<V>
Link copied to clipboard
fun addLast(process: CSProcessBase<Data>): CSProcessBase<Data>
Link copied to clipboard
open override fun cancel()
Link copied to clipboard
fun failed(message: String): CSProcessBase<Data>
fun failed(process: CSProcessBase<*>)
fun failed(exception: Throwable?, message: String? = null)
Link copied to clipboard
fun onCancel(function: (CSProcessBase<Data>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
fun onDone(function: (CSProcessBase<Data>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
fun onFailed(function: (CSProcessBase<*>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
fun onSuccess(function: (CSProcessBase<Data>) -> Unit): CSProcessBase<Data>
Link copied to clipboard
fun success()
fun success(data: Data)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val associated: CSAssociations
Link copied to clipboard
var data: Data?
Link copied to clipboard
val eventCancel: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
override val eventDestroy: CSEvent<Unit>
Link copied to clipboard
val eventDone: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
val eventFailed: CSEvent<CSProcessBase<*>>
Link copied to clipboard
val eventSuccess: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
var failedMessage: String?
Link copied to clipboard
var failedProcess: CSProcessBase<*>?
Link copied to clipboard
var isCanceled: Boolean
Link copied to clipboard
var isDestroyed: Boolean
Link copied to clipboard
var isDone: Boolean
Link copied to clipboard
var isFailed: Boolean
Link copied to clipboard
var isSuccess: Boolean
Link copied to clipboard
val onProgress: CSEvent<CSProcessBase<Data>>
Link copied to clipboard
var progress: Long
Link copied to clipboard
override val registrations: CSRegistrations
Link copied to clipboard
var throwable: Throwable?
Link copied to clipboard
var title: String?