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
raw docstring

activity-participantsclj/s

(activity-participants state activity owner-id)

add-typesclj/s

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

announce-typesclj/s

(announce-types state peer)

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
raw docstring

broadcast-targetsclj/s

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

clean-domain-infoclj/s

(clean-domain-info peer)

create-activityclj/s

(create-activity state source request configuration)

destroy-activityclj/s

(destroy-activity state source request)

destroy-participantsclj/s

(destroy-participants state participant-ids reason)

handle-errorclj/s

(handle-error state activity-info)

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
raw docstring

join-participantclj/s

(join-participant state activity participant)

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
raw 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
raw 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
raw 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
raw docstring

reloadclj/s

(reload state source request)

remove-participantclj/s

(remove-participant activity peer-id)

Removes a participant from the activity state

Removes a participant from the activity state
raw 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
raw docstring

remove-typesclj/s

(remove-types state source request)

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
raw docstring

subscribeclj/s

(subscribe state source request)

unsubscribeclj/s

(unsubscribe state source request)

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

× close