summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringService/Database
diff options
context:
space:
mode:
Diffstat (limited to 'Monitoring/MonitoringService/Database')
-rw-r--r--Monitoring/MonitoringService/Database/ConnectionPool.py17
-rw-r--r--Monitoring/MonitoringService/Database/DatabaseAccess.py20
-rw-r--r--Monitoring/MonitoringService/Database/StorageFIFO.py17
-rw-r--r--Monitoring/MonitoringService/Database/__init__.py0
-rw-r--r--Monitoring/MonitoringService/Database/test.py26
5 files changed, 80 insertions, 0 deletions
diff --git a/Monitoring/MonitoringService/Database/ConnectionPool.py b/Monitoring/MonitoringService/Database/ConnectionPool.py
new file mode 100644
index 0000000..a9f2aa0
--- /dev/null
+++ b/Monitoring/MonitoringService/Database/ConnectionPool.py
@@ -0,0 +1,17 @@
+'''
+Created on Aug 10, 2011
+
+@author: steger
+'''
+
+class ConnectionPool(object):
+ '''
+ classdocs
+ '''
+
+
+ def __init__(self, params):
+ '''
+ Constructor
+ '''
+ \ No newline at end of file
diff --git a/Monitoring/MonitoringService/Database/DatabaseAccess.py b/Monitoring/MonitoringService/Database/DatabaseAccess.py
new file mode 100644
index 0000000..d24a7bd
--- /dev/null
+++ b/Monitoring/MonitoringService/Database/DatabaseAccess.py
@@ -0,0 +1,20 @@
+'''
+Created on 08.08.2011
+
+@author: csc
+'''
+
+from ConnectionPool import ConnectionPool
+
+class DatabaseAccess():
+ '''
+ classdocs
+ '''
+
+
+ def __init__(self, parent):
+ '''
+ Constructor
+ '''
+ self.parent = parent
+ self.pool = ConnectionPool(params = "foo") \ No newline at end of file
diff --git a/Monitoring/MonitoringService/Database/StorageFIFO.py b/Monitoring/MonitoringService/Database/StorageFIFO.py
new file mode 100644
index 0000000..ea406d2
--- /dev/null
+++ b/Monitoring/MonitoringService/Database/StorageFIFO.py
@@ -0,0 +1,17 @@
+'''
+Created on Aug 10, 2011
+
+@author: steger
+'''
+
+class StorageFIFO(object):
+ '''
+ classdocs
+ '''
+
+
+ def __init__(self, params):
+ '''
+ Constructor
+ '''
+ \ No newline at end of file
diff --git a/Monitoring/MonitoringService/Database/__init__.py b/Monitoring/MonitoringService/Database/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Monitoring/MonitoringService/Database/__init__.py
diff --git a/Monitoring/MonitoringService/Database/test.py b/Monitoring/MonitoringService/Database/test.py
new file mode 100644
index 0000000..01c954f
--- /dev/null
+++ b/Monitoring/MonitoringService/Database/test.py
@@ -0,0 +1,26 @@
+'''
+Created on Aug 10, 2011
+
+@author: steger
+'''
+import unittest
+
+
+class Test(unittest.TestCase):
+
+
+ def setUp(self):
+ pass
+
+
+ def tearDown(self):
+ pass
+
+
+ def testName(self):
+ pass
+
+
+if __name__ == "__main__":
+ #import sys;sys.argv = ['', 'Test.testName']
+ unittest.main() \ No newline at end of file