Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mesh.py
blob: 1bf3ee99de18ab5fb2caf4502f0d16d1b3cb6d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (C) 2010, Alex Jones <acj3840@rit.edu>, Michael O'Dell <michael.s.odell@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.

# A Teacher object will contain a TeacherMesh for networking capabilities
class TeacherMesh ():

	# Set up the teacher connection
	def __init__(self, handle):
		pass
	
	# Recieve the connection from student and store
	# in collection
	def recieve_Student(self):
		pass
	
	# Send a question to all the students connected
	def send_Question(self):
		pass
	
	# Handle a response from a student and associate score
	def recieve_Answer(self):
		pass

#Likewise a Student will contain a StudentMesh for networking capabilities
class StudentMesh ():

	# Set up student connection
	def __init__(self, handle):
		pass
	
	# Join a teacher
	def join_Teacher(self):
		pass

	# Handle the reception of a question and display
	def recieve_Question(self):
		pass

	# Send a response to an activity
	def send_Response(self):
		pass