Class: XRBP::WebSocket::Parallel
- Inherits:
-
MultiConnection
- Object
- MultiConnection
- XRBP::WebSocket::Parallel
- 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
Instance Method Summary collapse
-
#next_connection(prev = nil) ⇒ Object
class All.
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 |