FixedStateCall

class FixedStateCall(    val status: Status,     val request: MessageRequest,     listener: MessageSender.OnSendMessageListener) : Call

This class returns a predefined status

Constructors

Link copied to clipboard
fun FixedStateCall(    status: Status,     request: MessageRequest,     listener: MessageSender.OnSendMessageListener)

Functions

Link copied to clipboard
open override fun callTimeout(): Long
open override fun callTimeout(millis: Long): Call
Link copied to clipboard
open override fun cancel()
Link copied to clipboard
open override fun enqueue(callback: MessageSender.Callback?): Boolean
Link copied to clipboard
open override fun execute(): Status
Link copied to clipboard
open override fun headers(): Map<String, String>?
Link copied to clipboard
open override fun isCanceled(): Boolean
Link copied to clipboard
open override fun isCompleted(): Boolean
Link copied to clipboard
open override fun noAck(): Call
Link copied to clipboard
open override fun onComplete(status: Status)
Link copied to clipboard
open override fun onStart()
Link copied to clipboard
open override fun request(): MessageRequest
Link copied to clipboard
open override fun reschedule()

Properties

Link copied to clipboard
val request: MessageRequest
Link copied to clipboard
val status: Status