コード例 #1
0
	def handleOutput(self, shutdown):
		parser = CommandParser(self.rstream)
		while not shutdown.is_set():
			command = parser.getCommand()
			if(command == None):
				return
			log(self, "cmd: %r" % command, 4)
			self.terminal.handleCmd(command)
コード例 #2
0
ファイル: Term_Server.py プロジェクト: dpogue/WebCyanChat
	def handleOutput(self, stream):
		parser = CommandParser(stream)
		while True:
			command = parser.getCommand()
			if(command == None):
				return
			log(self, "cmd: %r" % command, 4)
			self.terminal.handleCmd(command)