Class: XRBP::WebSocket::Parallel

Inherits:
MultiConnection show all
Defined in:
lib/xrbp/websocket/multi/parallel.rb

Overview

MultiConnection strategy where requests are sent to all connections in parallel.

Defined Under Namespace

Classes: All

Instance Attribute Summary

Attributes inherited from MultiConnection

#connections

Instance Method Summary collapse

Methods inherited from MultiConnection

#_add_plugin, #add_plugin, #close!, #connect, #force_quit!, #initialize, #plugin_namespace, #wait_for_close, #wait_for_completed, #wait_for_open

Constructor Details

This class inherits a constructor from XRBP::WebSocket::MultiConnection

Instance Method Details

#next_connection(prev = nil) ⇒ Object

class All


20
21
22
23
# File 'lib/xrbp/websocket/multi/parallel.rb', line 20

def next_connection(prev=nil)
  return nil unless prev.nil?
  All.new connections
end