# Class: MqttConnAckMessage

## vertx-mqtt-server-js/mqtt_conn_ack_message~ MqttConnAckMessage

#### new MqttConnAckMessage()

Represents an MQTT CONNACK message

Source:
  - vertx-mqtt-server-js/mqtt_conn_ack_message.js, line 29

### Methods

#### code() → {Object}

Source:
  - vertx-mqtt-server-js/mqtt_conn_ack_message.js, line 40

##### Returns:

return code from the connection request

Type
  Object

#### isSessionPresent() → {boolean}

Source:
  - vertx-mqtt-server-js/mqtt_conn_ack_message.js, line 56

##### Returns:

is an old session is present

Type
  boolean