Esempio n. 1
0
 def send(self, line, echo = False):
     """Send a line to the MUD."""
     #need to spin a new realm out here to make sure that the writings from
     #the alias go after ours.
     realm = AliasMatchingRealm(line, echo, parent = self, root = self.root,
                                send_line_to_mud = self.send_line_to_mud)
     realm.process()
Esempio n. 2
0
 def send(self, line, echo = True):
     """Match aliases against the line and perhaps send it to the MUD."""
     echo = not self.server_echo and echo
     realm = AliasMatchingRealm(line, echo, parent = self, root = self)
     try:       
         realm.process()
     except:
         self.handle_exception(traceback.format_exc())
Esempio n. 3
0
 def send(self, line, echo = True):
     """Match aliases against the line and perhaps send it to the MUD."""
     echo = not self.server_echo and (echo and not self.accessibility_mode)
     realm = AliasMatchingRealm(line, echo, parent = self, root = self,
                                send_line_to_mud = self.telnet.sendLine)
     realm.process()