From 16e751f4a2a7ff598308b38e79f1e9237be13cd2 Mon Sep 17 00:00:00 2001 From: wallarelvo Date: Sat, 30 Jan 2016 19:42:20 +0800 Subject: [PATCH] Starting this up again --- docs/communication_api.md | 10 ++++++++++ requirements.txt | 2 ++ scripts/run_server.py | 0 src/{jammi => client}/__init__.py | 0 src/{jammi => client}/heart.py | 0 src/{jammi => client}/nameserver.py | 0 src/server/__init__.py | 0 7 files changed, 12 insertions(+) create mode 100644 docs/communication_api.md create mode 100644 requirements.txt create mode 100644 scripts/run_server.py rename src/{jammi => client}/__init__.py (100%) rename src/{jammi => client}/heart.py (100%) rename src/{jammi => client}/nameserver.py (100%) create mode 100644 src/server/__init__.py diff --git a/docs/communication_api.md b/docs/communication_api.md new file mode 100644 index 0000000..8749b4e --- /dev/null +++ b/docs/communication_api.md @@ -0,0 +1,10 @@ +# Communication API + + { + to: Name of recipient of message, + from: Name of sender, + topic: Topic name the message will be published to without the named + prefix, + msg: Message being sent, + type: Type of the message (e.g. geometry/Twist) + } diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a70c577 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +twisted +autobahn diff --git a/scripts/run_server.py b/scripts/run_server.py new file mode 100644 index 0000000..e69de29 diff --git a/src/jammi/__init__.py b/src/client/__init__.py similarity index 100% rename from src/jammi/__init__.py rename to src/client/__init__.py diff --git a/src/jammi/heart.py b/src/client/heart.py similarity index 100% rename from src/jammi/heart.py rename to src/client/heart.py diff --git a/src/jammi/nameserver.py b/src/client/nameserver.py similarity index 100% rename from src/jammi/nameserver.py rename to src/client/nameserver.py diff --git a/src/server/__init__.py b/src/server/__init__.py new file mode 100644 index 0000000..e69de29