(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
(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
(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
(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
(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
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close