@@ -17,9 +17,9 @@ var defaultPort = 1883
17
17
/**
18
18
* createClient - create an MQTT client
19
19
*
20
- * @param < Number> [port] - broker port
21
- * @param < String> [host] - broker host
22
- * @param < Object> [opts] - see MqttClient#constructor
20
+ * @param { Number } [port] - broker port
21
+ * @param { String } [host] - broker host
22
+ * @param { Object } [opts] - see MqttClient#constructor
23
23
* @api public
24
24
*/
25
25
module . exports . createClient = function ( port , host , opts ) {
@@ -50,9 +50,9 @@ module.exports.createClient = function(port, host, opts) {
50
50
/**
51
51
* createSecureClient - create a tls secured MQTT client
52
52
*
53
- * @param < Number> [port]
54
- * @param < String> [host]
55
- * @param < Object> opts
53
+ * @param { Number } [port]
54
+ * @param { String } [host]
55
+ * @param { Object } opts
56
56
* @api public
57
57
*/
58
58
module . exports . createSecureClient = function ( port , host , opts ) {
@@ -89,7 +89,7 @@ module.exports.createSecureClient = function(port, host, opts) {
89
89
/**
90
90
* createServer - create an MQTT server
91
91
*
92
- * @param < Function> listener - called on new client connections
92
+ * @param { Function } listener - called on new client connections
93
93
*/
94
94
95
95
module . exports . createServer = function ( listener ) {
@@ -99,9 +99,9 @@ module.exports.createServer = function(listener) {
99
99
/**
100
100
* createSecureServer - create a tls secured MQTT server
101
101
*
102
- * @param < String> keyPath - path to private key
103
- * @param < String> certPath - path to public cert
104
- * @param < Function> listener - called on new client conns
102
+ * @param { String } keyPath - path to private key
103
+ * @param { String } certPath - path to public cert
104
+ * @param { Function } listener - called on new client conns
105
105
*/
106
106
107
107
module . exports . createSecureServer =
@@ -112,9 +112,9 @@ function(keyPath, certPath, listener) {
112
112
/**
113
113
* createConnection - create a bare MQTT connection
114
114
*
115
- * @param < Number> [port]
116
- * @param < String> [host]
117
- * @param < Function> [callback]
115
+ * @param { Number } [port]
116
+ * @param { String } [host]
117
+ * @param { Function } [callback]
118
118
*/
119
119
module . exports . createConnection = function ( port , host , callback ) {
120
120
var net_client , mqtt_conn ;
0 commit comments