Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What types of communications can occur in a room?

communications occur room types
0
Posted

What types of communications can occur in a room?

0

Clients can send commands that look like XML elements. Commands include: • sendall – send message to all users in room. Useful for broadcasting information. • senduser – send a message to a specific user. • locknewthing – create a generic “thing” that can be locked, modified, and unlocked by a user. The locking allows edits to be atomic so that multiple users do not overwrite each others edits. This is similar to a source code control system but acts on temporary memory based objects. Examples of “things” are: a melody, the number of trolls under a bridge, the state of a tic-tac-toe board, etc. Modifications to things are broadcast to all users in a room that have subscribed to changes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123