Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.council.rooms

Machine membership, scoped sharing and durable Council delivery through the relay.

Machine membership, scoped sharing and durable Council delivery through the relay.
raw docstring

access-idclj

(access-id room-id)
source

advance!clj

(advance! room-id sid kind entry-id)
source

create!clj

(create! db {:keys [relay_url name] :as body})

Create a room on a connected relay where this machine can create rooms.

Create a room on a connected relay where this machine can create rooms.
sourceraw docstring

cursorclj

(cursor room-id sid kind)
source

default-machine-nameclj

(default-machine-name)

This computer's host name without its domain, or Vis when the host has no usable name.

This computer's host name without its domain, or Vis when the host has no usable name.
sourceraw docstring

delete-machine!clj

(delete-machine! db {:keys [relay_url] :as body})

Delete this machine from one relay, then forget its credential there. A relay failure keeps the credential. The machine stays on the other relays.

Delete this machine from one relay, then forget its credential there. A relay failure keeps the
credential. The machine stays on the other relays.
sourceraw docstring

install-runtime!clj

(install-runtime! snapshot eligible? wake!)
source

join!clj

(join! db {:keys [invite_url] :as body})

Join the room of an invitation with the saved machine name. One machine can be in many rooms on many relays.

Join the room of an invitation with the saved machine name. One machine can be in many rooms on
many relays.
sourceraw docstring

known-roomsclj

(known-rooms)

The saved rooms of all connected relays. Room IDs are random, so the first relay wins a duplicate.

The saved rooms of all connected relays. Room IDs are random, so the first relay wins a duplicate.
sourceraw docstring

machine-nameclj

(machine-name db)

The name that rooms show for this machine on each relay. The first use saves the host name.

The name that rooms show for this machine on each relay. The first use saves the host name.
sourceraw docstring

machine-name-idclj

The setting id of the name that rooms show for this machine.

The setting id of the name that rooms show for this machine.
sourceraw docstring

machine-name-lengthclj

The longest machine name that the relay accepts.

The longest machine name that the relay accepts.
sourceraw docstring

manage!clj

(manage! db operation room-id id body)

Apply a declared membership operation through the authenticated machine.

Apply a declared membership operation through the authenticated machine.
sourceraw docstring

operation!clj

(operation! db sid room-id operation opts)

Recheck session policy at the transport boundary, including reads and receipts.

Recheck session policy at the transport boundary, including reads and receipts.
sourceraw docstring

poll!clj

(poll! db)

Claim each idle wake before dispatch. A crash cannot repeat a paid activation.

Claim each idle wake before dispatch. A crash cannot repeat a paid activation.
sourceraw docstring

read-stateclj

(read-state relay-url)

Read the private machine state of one relay origin. A relay without a file gets no network work.

Read the private machine state of one relay origin. A relay without a file gets no network work.
sourceraw docstring

register!clj

(register! db {:keys [relay_url admin_token] :as body})

Register this machine on a relay with the rooms administrator token. The machine gets the right to create rooms there, also when it joined that relay through an invitation.

Register this machine on a relay with the rooms administrator token. The machine gets the right to
create rooms there, also when it joined that relay through an invitation.
sourceraw docstring

register-settings!clj

(register-settings! rooms)

Membership permits selection. It never selects or shares a session. A room that leaves the membership loses its access setting.

Membership permits selection. It never selects or shares a session.
A room that leaves the membership loses its access setting.
sourceraw docstring

selected-roomclj

(selected-room db sid)

Resolve fresh restrictions. A denied or revoked room cannot receive session data.

Resolve fresh restrictions. A denied or revoked room cannot receive session data.
sourceraw docstring

set-machine-name!clj

(set-machine-name! db value)

Save the name that rooms show for this machine, send it to each connected relay and return it. A relay that does not answer gets the name at the next status check.

Save the name that rooms show for this machine, send it to each connected relay and return it.
A relay that does not answer gets the name at the next status check.
sourceraw docstring

setting?clj

(setting? id)

True for the room selection, wake and access settings. They apply on the next Council call.

True for the room selection, wake and access settings. They apply on the next Council call.
sourceraw docstring

start!clj

(start! db)

Own one bounded poller for this gateway. Return its stop function.

Own one bounded poller for this gateway. Return its stop function.
sourceraw docstring

status!clj

(status! db)

Return safe membership metadata for each connected relay. No key, invite, cursor or transcript is included.

Return safe membership metadata for each connected relay. No key, invite, cursor or transcript
is included.
sourceraw docstring

sync-room!clj

(sync-room! db room-id)
source

wake-allowed?clj

(wake-allowed? db sid)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close