Module: VertxMqtt::MqttMessage
- Included in:
- MqttMessageImpl, MqttPublishMessage, MqttSubAckMessage, MqttSubscribeMessage, MqttUnsubscribeMessage
- Defined in:
- /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb
Instance Method Summary (collapse)
-
- (Fixnum) message_id
Message identifier.
Instance Method Details
- (Fixnum) message_id
Returns Message identifier
6 7 8 9 10 11 12 13 14 |
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb', line 6 def if !block_given? if @cached_message_id != nil return @cached_message_id end return @cached_message_id = @j_del.java_method(:messageId, []).call() end raise ArgumentError, "Invalid arguments when calling message_id()" end |