(activity-member-joined state activity-id peer gw-request)
Handles the case where a joining peer should be part of an activity.
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
(activity-participants state activity owner-id)
(add-types state source request-id peer-id types)
(announce-types state peer)
(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
(broadcast-targets state peer-id activity owner include-participants?)
(clean-domain-info peer)
(create-activity state source request configuration)
(destroy-activity state source request)
(destroy-participants state participant-ids reason)
(handle-error state activity-info)
(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
(join-participant state activity participant)
(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
(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
(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
(peer-ready state source activity-id peer)
An activity member has sent a ready message
An activity member has sent a ready message
(reload state source request)
(remove-participant activity peer-id)
Removes a participant from the activity state
Removes a participant from the activity state
(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
(remove-types state source request)
(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
(subscribe state source request)
(unsubscribe state source request)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close