def __init__(self, test, peerIndex, onReady, onGone): WampClientFactory.__init__(self, test.testee.url) self.test = test self.peerIndex = peerIndex self.onReady = onReady self.onGone = onGone self.proto = None
def __init__(self, peerIndex, onReady, onGone, test, result): assert(self.protocol) WampClientFactory.__init__(self, test.testee.url) self.peerIndex = peerIndex self.onReady = onReady self.onGone = onGone self.test = test self.result = result self.proto = None
def __init__(self, peerIndex, onReady, onGone, test, result): assert(self.protocol) WampClientFactory.__init__(self, test.testee.url) self.peerIndex = peerIndex self.onReady = onReady self.onGone = onGone self.test = test self.result = result self.proto = None
def __init__(self, options, debug): self.options = options self.user = "******" self.password = options["password"] self.command = options["command"] if self.command == 'connect': self.reconnect = True else: self.reconnect = False if options["spec"]: self.config = json.loads(open(options["spec"]).read()) else: self.config = None WampClientFactory.__init__(self, options["wsuri"], debugWamp = debug)
def __init__(self, config): WampClientFactory.__init__(self, config.wsuri, debugWamp = config.debug) self.config = config self.receivedCnt = 0 self.receivedRtts = [] self.setProtocolOptions(failByDrop = False) if config.skiputf8validate: self.setProtocolOptions(utf8validateIncoming = False) if config.skipmasking: self.setProtocolOptions(maskClientFrames = False)
def __init__(self, config): WampClientFactory.__init__(self, config.wsuri, debugWamp = config.debug) self.config = config self.id = 0 self.batchid = 0 self.publishedCnt = 0 self.setProtocolOptions(failByDrop = False) if config.skiputf8validate: self.setProtocolOptions(utf8validateIncoming = False) if config.skipmasking: self.setProtocolOptions(maskClientFrames = False)
def __init__(self, config, d): WampClientFactory.__init__(self, config.wsuri, debugWamp = config.debug) self._ready = d self.config = config self.receivedCnt = 0 self.receivedRtts = [] self.setProtocolOptions(failByDrop = False) if config.skiputf8validate: self.setProtocolOptions(utf8validateIncoming = False) if config.skipmasking: self.setProtocolOptions(maskClientFrames = False)
def __init__(self, app): WampClientFactory.__init__(self, app.url, debugWamp=app.debug) self.app = app self.proto = None self.wasConnected = False
def __init__(self, case, onReady, onGone, subscribeTopics): WampClientFactory.__init__(self, case.url, debug=case.debugWs, debugWamp=case.debugWamp) self.case = case self.onReady = onReady self.onGone = onGone self.subscribeTopics = subscribeTopics
def __init__(self, wsuri, user, password): self.user = user self.password = password WampClientFactory.__init__(self, wsuri)
def __init__(self, command_channel, *args, **kwargs): self.command_channel = command_channel WampClientFactory.__init__(self, *args, **kwargs)
def __init__(self, options, reactor): self.options = options self.done = False WampClientFactory.__init__(self, self.options.server, debugWamp = self.options.debug)
def __init__(self, options, reactor): self.options = options self.done = False WampClientFactory.__init__(self, self.options.server, debugWamp=self.options.debug)
def __init__(self, app): WampClientFactory.__init__(self, app.url, debugWamp = app.debug) self.app = app self.proto = None self.wasConnected = False
def __init__(self, url, debug = False, debugCodePaths = False, debugWamp = False, debugApp = False): WampClientFactory.__init__(self, url, debug = debug, debugCodePaths = debugCodePaths) self.spiders = {} self.is_first = 0
def __init__(self, app, clientId): WampClientFactory.__init__(self, ARGS.websocket_url, ARGS.debug) self.protocol = None self.app = app self.clientId = clientId self.failureRecorded = False