Result

sealed class Result

Describes the result of a report subscribe operation.

Since

8.31

Parameters

state
an object indicating the state or cause of the result.

Inheritors

Types

Link copied to clipboard
class Failure(val path: String?, val uri: String?, val state: Any, val message: String?) : Server.Result

A Result indicating that the report could not be subscribed to.

Link copied to clipboard
class Success(val path: String?, val uri: String?, val state: Any, val report: Report) : Server.Result

A Result indicating that the report was successfully subscribed.

Properties

Link copied to clipboard
val path: String?
Link copied to clipboard
val state: Any
Link copied to clipboard
val uri: String?

Functions

Link copied to clipboard
open override fun toString(): String