SessionProvider

class SessionProvider<S : Any>

Specifies a provider for a session with the specific name and type

Parameters

transport - specifies the SessionTransport for this provider

tracker - specifies the SessionTracker for this provider

Constructors

<init>

SessionProvider(
    name: String,
    type: KClass<S>,
    transport: SessionTransport,
    tracker: SessionTracker<S>)

Specifies a provider for a session with the specific name and type

Properties

name

val name: String

session name

tracker

val tracker: SessionTracker<S>

specifies the SessionTracker for this provider

transport

val transport: SessionTransport

specifies the SessionTransport for this provider

type

val type: KClass<S>

session instance type

Functions

toString

fun toString(): String