Class List Method List File List

# Class: VertxMqtt::MqttMessageImpl

Inherits:
  Object
  - Object
  - VertxMqtt::MqttMessageImpl
  show all
Includes:
  MqttMessage
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb

## Constant Summary

@@j_api_type =

      Object.new

## Class Method Summary (collapse)

- + (Boolean) accept?(obj)
- + (Object) j_api_type
- + (Object) j_class
- + (Object) unwrap(obj)
- + (Object) wrap(obj)

### Methods included from MqttMessage

#message_id

## Class Method Details

### + (`Boolean`) accept?(obj)

Returns:

- (`Boolean`)

    29
    30
    31
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb', line 29

    def @@j_api_type.accept?(obj)
      obj.class == MqttMessage
    end

### + (`Object`) j_api_type

    38
    39
    40
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb', line 38

    def self.j_api_type
      @@j_api_type
    end

### + (`Object`) j_class

    41
    42
    43
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb', line 41

    def self.j_class
      Java::IoVertxMqttMessages::MqttMessage.java_class
    end

### + (`Object`) unwrap(obj)

    35
    36
    37
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb', line 35

    def @@j_api_type.unwrap(obj)
      obj.j_del
    end

### + (`Object`) wrap(obj)

    32
    33
    34
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-mqtt/mqtt_message.rb', line 32

    def @@j_api_type.wrap(obj)
      MqttMessage.new(obj)
    end