Liking cljdoc? Tell your friends :D

gateway.domains.activity.activities


activity-member-joinedclj/s

(activity-member-joined state activity-id peer gw-request)

Handles the case where a joining peer should be part of an activity.

  • joins the peer to the context
  • associates the peer with the activity and sets as owner if needed
Handles the case where a joining peer should be part of an activity.

- joins the peer to the context
- associates the peer with the activity and sets as owner if needed
sourceraw docstring

activity-participantsclj/s

(activity-participants state activity owner-id)
source

add-typesclj/s

(add-types state source request-id peer-id types)
source

announce-typesclj/s

(announce-types state peer)
source

broadcast-activity-leftclj/s

(broadcast-activity-left state peer-id activity reason include-participants?)

Broadcasts a message that a participant has left the activity to everyone that can see it

Broadcasts a message that a participant has left the activity to everyone that can see it
sourceraw docstring

broadcast-targetsclj/s

(broadcast-targets state peer-id activity owner include-participants?)
source

clean-domain-infoclj/s

(clean-domain-info peer)
source

create-activityclj/s

(create-activity state source request configuration)
source

destroy-activityclj/s

(destroy-activity state source request)
source

destroy-participantsclj/s

(destroy-participants state participant-ids reason)
source

handle-errorclj/s

(handle-error state activity-info)
source

join-activityclj/s

(join-activity state source request)

Processes a request to join a target peer in an activity

Processes a request to join a target peer in an activity
sourceraw docstring

join-participantclj/s

(join-participant state activity participant)
source

leave-activity*clj/s

(leave-activity* state source request)

Processes a request of a peer to leave an activity

Processes a request of a peer to leave an activity
sourceraw docstring

owner-leftclj/s

(owner-left state activity peer reason destroy?)

An owner of an activity has left. Dismantle the whole activity destroying all its children

An owner of an activity has left. Dismantle the whole activity destroying all its children
sourceraw docstring

participant-leftclj/s

(participant-left state activity peer reason)

A participant in an activity has left. Clean it up from the activity and its children

A participant in an activity has left. Clean it up from the activity and its children
sourceraw docstring

peer-readyclj/s

(peer-ready state source activity-id peer)

An activity member has sent a ready message

An activity member has sent a ready message
sourceraw docstring

reloadclj/s

(reload state source request)
source

remove-participantclj/s

(remove-participant activity peer-id)

Removes a participant from the activity state

Removes a participant from the activity state
sourceraw docstring

remove-peerclj/s

(remove-peer state peer reason)

A peer is being removed from the domain, check if it belongs to any activities and deal with that accordingly

A peer is being removed from the domain, check if it belongs to any activities and deal with that accordingly
sourceraw docstring

remove-typesclj/s

(remove-types state source request)
source

sees-activity?clj/s

(sees-activity? activity owner peer)

An activity can be seen by a peer in the activity domain that matches the read permissions. If there are no permissions set, the user of the peer must match the user of the activity owner

An activity can be seen by a peer in the activity domain that matches the read permissions. If there
are no permissions set, the user of the peer must match the user of the activity owner
sourceraw docstring

subscribeclj/s

(subscribe state source request)
source

unsubscribeclj/s

(unsubscribe state source request)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close