parameters: (self,msg)
docstring: Call this to send an outgoing message
docstring_summary: Call this to send an outgoing message
docstring_tokens: Call this to send an outgoing message
function: def sendMessage(self,msg):
          """Call this to send an outgoing message"""
          smsg = json.dumps(msg)
          #print "JSON message:",smsg
          self.buffer = self.buffer + packStrlen(smsg) + smsg
function_tokens: def sendMessage ( self , msg ) : smsg = json . dumps ( msg ) #print "JSON message:",smsg self . buffer = self . buffer + packStrlen ( smsg ) + smsg