ed(message) {
        console.log("收到消息:" + message.payloadString);
    }

    function doStart() {

        client.connect(options);
    }
    var i=0;
    function sendMessage() {
        var msg="welcome to wizzer.cn :::"+i++;
        message = new Paho.MQTT.Message(msg);
        message.destinationName = "/topic/mqttwk";
        client.send(message);
        console.log("发送消息:" + msg);
    }
</script>
</BODY>
</HTML>
