Class: Faye::LocalTransport
- Defined in:
- lib/faye/network/transport.rb
Constant Summary
Constants included from Logging
Faye::Logging::DEFAULT_LOG_LEVEL, Faye::Logging::LOG_LEVELS
Instance Attribute Summary
Attributes included from Logging
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Transport
#connection_type, get, #initialize, #receive, register, #retry_block, #send, supported_connection_types
Methods included from Logging
Constructor Details
This class inherits a constructor from Faye::Transport
Class Method Details
.usable?(endpoint) ⇒ Boolean
101 102 103 |
# File 'lib/faye/network/transport.rb', line 101 def self.usable?(endpoint) endpoint.is_a?(Server) end |
Instance Method Details
#request(message, timeout) ⇒ Object
105 106 107 |
# File 'lib/faye/network/transport.rb', line 105 def request(, timeout) @endpoint.process(, true) { |responses| receive(responses) } end |