Class List Method List File List

# Class: Vertx::WebSocketBaseImpl

Inherits:
  Object
  - Object
  - Vertx::WebSocketBaseImpl
  show all
Includes:
  WebSocketBase
Defined in:
  /Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/web_socket_base.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 WebSocketBase

#binary_handler_id, #binary_message_handler, #close, #close_handler, #close_reason, #close_status_code, #closed?, #drain_handler, #end, #end_handler, #exception_handler, #fetch, #frame_handler, #handler, #headers, #local_address, #pause, #pipe, #pipe_to, #pong_handler, #remote_address, #resume, #set_write_queue_max_size, #ssl?, #sub_protocol, #text_handler_id, #text_message_handler, #write, #write_binary_message, #write_final_binary_frame, #write_final_text_frame, #write_frame, #write_ping, #write_pong, #write_queue_full?, #write_text_message

### Methods included from WriteStream

#drain_handler, #end, #exception_handler, #set_write_queue_max_size, #write, #write_queue_full?

### Methods included from StreamBase

#exception_handler

### Methods included from ReadStream

#end_handler, #exception_handler, #fetch, #handler, #pause, #pipe, #pipe_to, #resume

## Class Method Details

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

Returns:

- (`Boolean`)

    447
    448
    449
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/web_socket_base.rb', line 447

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

### + (`Object`) j_api_type

    456
    457
    458
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/web_socket_base.rb', line 456

    def self.j_api_type
      @@j_api_type
    end

### + (`Object`) j_class

    459
    460
    461
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/web_socket_base.rb', line 459

    def self.j_class
      Java::IoVertxCoreHttp::WebSocketBase.java_class
    end

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

    453
    454
    455
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/web_socket_base.rb', line 453

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

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

    450
    451
    452
    # File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx/web_socket_base.rb', line 450

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