def publish(self, topic, data):
        if self.is_connected:
            return self.publish_tcp(topic, data)
        else:
            return self.publish_http(topic, data)
Start an instance of the given C{connectorType} connecting.
dataset/ETHPy150Open wtolson/gnsq/gnsq/nsqd.py/Nsqd.publish--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/interfaces.py/IReactorArbitrary.connectWith