Response

@Serializable
sealed interface Response : RpcEnvelope

Represents the base type for response messages in a clustered actor system. A response carries information about the outcome or state related to a requested operation.

Inheritors

Types

Link copied to clipboard
@Serializable
class Echo(val id: Long, val msg: String) : RpcEnvelope.Response
Link copied to clipboard
@Serializable
class Empty(val id: Long) : RpcEnvelope.Response
Link copied to clipboard
@Serializable
class Failure(val id: Long, val message: String?, val cause: String?) : RpcEnvelope.Response
Link copied to clipboard
@Serializable
class Stats(val id: Long, val stats: Actor.Stats) : RpcEnvelope.Response
Link copied to clipboard
@Serializable
class Status(val id: Long, val status: Actor.Status) : RpcEnvelope.Response
Link copied to clipboard
@Serializable
class Success(val id: Long, val response: ActorProtocol.Response) : RpcEnvelope.Response

Properties

Link copied to clipboard
abstract val id: Long