示例#1
0
 def onMessage(self, payload, binary):
    self.test.result.log.append((perf_counter(), self.factory.peerIndex, self.session_id, '<pre class="wamp">RX <= %s</pre>' % payload))
    WampCraClientProtocol.onMessage(self, payload, binary)
示例#2
0
 def sendMessage(self, payload):
    self.factory.log('<pre class="wamp">TX => %s</pre>' % payload)
    WampCraClientProtocol.sendMessage(self, payload)
示例#3
0
 def onMessage(self, payload, binary):
    self.factory.log('<pre class="wamp">RX <= %s</pre>' % payload)
    WampCraClientProtocol.onMessage(self, payload, binary)
示例#4
0
 def onMessage(self, payload, binary):
    self.factory.log('<pre class="wamp">RX <= %s</pre>' % payload)
    WampCraClientProtocol.onMessage(self, payload, binary)
示例#5
0
 def sendMessage(self, payload):
    self.factory.log('<pre class="wamp">TX => %s</pre>' % payload)
    WampCraClientProtocol.sendMessage(self, payload)
示例#6
0
   def connectionMade(self):
      if self.factory.options.verbose:
         sys.stdout.write(" .. (1) connected ..")

      WampCraClientProtocol.connectionMade(self)
示例#7
0
文件: cli.py 项目: ktosiu/scratchbox
    def connectionMade(self):
        if self.factory.options.verbose:
            sys.stdout.write(" .. (1) connected ..")

        WampCraClientProtocol.connectionMade(self)
示例#8
0
文件: cli.py 项目: jamjr/crossbar
   def connectionMade(self):
      if not self.factory.options['json']:
         print "connected."

      WampCraClientProtocol.connectionMade(self)