Class: VertxMqttServer::MqttMessageImpl

Inherits:
Object
  • Object
show all
Includes:
MqttMessage
Defined in:
/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-mqtt-server/mqtt_message.rb

Constant Summary

@@j_api_type =
Object.new

Class Method Summary (collapse)

Methods included from MqttMessage

#message_id

Class Method Details

+ (Boolean) accept?(obj)

Returns:

  • (Boolean)


29
30
31
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-mqtt-server/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-stack/stack-docs/target/rb/vertx-mqtt-server/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-stack/stack-docs/target/rb/vertx-mqtt-server/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-stack/stack-docs/target/rb/vertx-mqtt-server/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-stack/stack-docs/target/rb/vertx-mqtt-server/mqtt_message.rb', line 32

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