summary refs log tree commit diff
path: root/synapse/appservice/__init__.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-03-06 15:12:24 +0000
committerKegan Dougal <kegan@matrix.org>2015-03-06 15:12:24 +0000
commitf260cb72cd3435d540411962a92ca2a9fd333eb1 (patch)
tree68af80d83bbbd54a6702d9015f2cb1ff8094f2cf /synapse/appservice/__init__.py
parentAdd stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in st... (diff)
downloadsynapse-f260cb72cd3435d540411962a92ca2a9fd333eb1.tar.xz
Flesh out more stub functions.
Diffstat (limited to 'synapse/appservice/__init__.py')
-rw-r--r--synapse/appservice/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py
index a268a6bcc4..cc6c381566 100644
--- a/synapse/appservice/__init__.py
+++ b/synapse/appservice/__init__.py
@@ -20,6 +20,11 @@ import re
 logger = logging.getLogger(__name__)
 
 
+class ApplicationServiceState(object):
+    DOWN = "down"
+    UP = "up"
+
+
 class ApplicationService(object):
     """Defines an application service. This definition is mostly what is
     provided to the /register AS API.