Skip to content

Session

[Source]

actor tag Session is
  TCPConnectionActor tag,
  ClientLifecycleEventReceiver ref

Implements


Constructors

create

[Source]

new tag create(
  auth': TCPConnectAuth val,
  notify': SessionStatusNotify tag,
  host': String val,
  service': String val,
  user': String val,
  password': String val,
  database': String val)
: Session tag^

Parameters

Returns


Public fields

var state: _SessionState ref

[Source]


Public Behaviours

execute

[Source]

Execute a query.

be execute(
  query: SimpleQuery val,
  receiver: ResultReceiver tag)

Parameters


close

[Source]

Hard closes the connection. Terminates as soon as possible without waiting for outstanding queries to finish.

be close()

dispose

be dispose()