Ejemplo n.º 1
0
	def sendChatServer(self,data):
		'''send the chat message to everyone but the sender'''
		for client in self.connections:
			if client != data[0]:
				#send the chat message everywhere
				stringOut=Protical.chatSend(data[1][1][0])#the string to send out
				self.toWrite.put( (client,stringOut) )
		return
Ejemplo n.º 2
0
 def sendChatServer(self, data):
     '''send the chat message to everyone but the sender'''
     for client in self.connections:
         if client != data[0]:
             #send the chat message everywhere
             stringOut = Protical.chatSend(
                 data[1][1][0])  #the string to send out
             self.toWrite.put((client, stringOut))
     return
Ejemplo n.º 3
0
 def msg(self):
     self.toSend.put(Protical.chatSend("poop"))
Ejemplo n.º 4
0
	def msg(self):
		self.toSend.put(Protical.chatSend("poop"))