Class: Vertx::StreamBaseImpl

Inherits:
Object
  • Object
show all
Includes:
StreamBase
Defined in:
/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/stream_base.rb

Constant Summary

@@j_api_type =
Object.new

Class Method Summary (collapse)

Methods included from StreamBase

#exception_handler

Class Method Details

+ (Boolean) accept?(obj)

Returns:

  • (Boolean)


29
30
31
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/stream_base.rb', line 29

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

+ (Object) j_api_type



38
39
40
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/stream_base.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/stream_base.rb', line 41

def self.j_class
  Java::IoVertxCoreStreams::StreamBase.java_class
end

+ (Object) unwrap(obj)



35
36
37
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/stream_base.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/stream_base.rb', line 32

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