Comments (2)
Current protocol examples
- Client chat message
{"agentType":"chatter","cmd":"hi"}
- Server chat broadcast
{
"kind":"chatter",
"context":"chatter",
"user":"Bryan",
"message":"hi",
"members":["Bryan","BizzleBot"]
}
- Client observer command message
{"agentType":"observer","cmd":"create-turtles 5"}
- Server observer command echo (so the command is displayed in the chat window)
{
"kind":"command",
"context":"observer",
"user":"Bryan",
"message":"create-turtles 5",
"members":["Bryan","BizzleBot"]
}
- Server observer command response (not the view update, just the resopnse to the message)
{
"kind":"response",
"context":"netlogo",
"user":"observer",
"message":"",
"members":["Bryan","BizzleBot"]
}
- Client observer reporter message
{"agentType":"observer","cmd":"show count turtles"}
- Server observer reporter echo (so the reporter is displayed in the chat window)
{
"kind":"command",
"context":"observer",
"user":"Bryan",
"message":"show count turtles",
"members":["Bryan","BizzleBot"]
}
- Server observer reporter response
{
"kind":"response",
"context":"netlogo",
"user":"observer",
"message":"observer: 5",
"members":["Bryan","BizzleBot"]
}
Notes:
- "members" is the list of users to display the message to
- In server messages, "kind" will either be the agent type the command or reporter is for, or it will indicate it's a chat message
- "agenttype" serves the same role as "kind" in client messages
- The protocol is very chat oriented right now.
from galapagos.
This issue was moved to NetLogo/Teletortoise#5
from galapagos.
Related Issues (20)
- Slider manually-typed values can be outside min and max range
- Further enhancements for authoring
- Improve in UI HOT 7
- plotxy misbehaves in NetLogo Web HOT 1
- Plot menu gets cut off in small plots HOT 1
- tortoise_require is not defined--netlogoweb.org is down HOT 4
- `plot-pen-up` doesn't seem to do anything HOT 1
- Repeatedly plotting the same point causes weird extra lines
- `set-plot-pen-color` changes all data points, not future points/lines HOT 1
- Bundle Beak as a single publishable package
- Debugging on netlogoweb.org is difficult
- Plot limits are not respected HOT 1
- Empty ID Manager / Undefined MessagePort HOT 2
- Model Compilation Error (setup + go) after Command Center Usage HOT 2
- Enable Highcharts Boost module for all line plots
- "Try to load the model securely" error on NetLogo web for the Ecological Competition Model HOT 3
- Further enhancements for events, queries, and auto-save
- Setting World Wrapping / NoWrapping HOT 2
- Bug(?) with world settings - wrap settings do not save when coordinates are also changed. HOT 1
- Error with Fetch and World Resize HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galapagos.