Session

class Session

Class representing a client session.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

close
Link copied to clipboard
common
fun close()
Closes this session.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
getClientUId
Link copied to clipboard
common
fun getClientUId(): ClientUId
Get the client unique identifier
getDbName
Link copied to clipboard
common
fun getDbName(): String
Get the database name
getServiceUrl
Link copied to clipboard
common
fun getServiceUrl(): String
Get the C-Service URL
getWebSocketPath
Link copied to clipboard
common
fun getWebSocketPath(): String
Get the web socket path
getWebSocketPort
Link copied to clipboard
common
fun getWebSocketPort(): Int
Get the web socket port
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
openCollection
Link copied to clipboard
common
fun openCollection(collectionUId: CollectionUId, readOnly: Boolean): Collection
Opens a given collection with the given read-only mode.
toString
Link copied to clipboard
common
open fun toString(): String
transaction
Link copied to clipboard
common
fun transaction(type: ConsistencyLevel, body: TransactionBody): Transaction
Creates a transaction.