Class: Dizby::SecureProtocol
- Inherits:
-
Object
- Object
- Dizby::SecureProtocol
- Includes:
- BasicProtocol
- Defined in:
- lib/dizby/protocols/secure.rb
Defined Under Namespace
Classes: DirectTunnel, ResponseTunnel
Class Method Summary collapse
Methods included from BasicProtocol
Class Method Details
.delegatable_tunnel(factory, server, tunnel)
58 59 60 61 62 63 64 |
# File 'lib/dizby/protocols/secure.rb', line 58 def self.delegatable_tunnel(factory, server, tunnel) if factory.bidirectional? ResponseTunnel.new(server, tunnel) else DirectTunnel.new(server, tunnel) end end |