Module: TunnelClient
- Extended by:
- Interact::Pretty
- Defined in:
- lib/lds-cf-plugin/tunnel/tunnelclient.rb
Defined Under Namespace
Classes: TunnelConnection, TunnelListener
Constant Summary collapse
- PROTOCOL_VERSION =
'1'.freeze
- FRAME_HEADER_LENGTH =
5
Class Method Summary collapse
Class Method Details
.tunnel(token, tunnel_server_host, tunnel_server_port, app, instance_id, port = 'debug', local_host = '127.0.0.1', local_port = 1847, use_tls = true) ⇒ Object
12 13 14 |
# File 'lib/lds-cf-plugin/tunnel/tunnelclient.rb', line 12 def self.tunnel(token, tunnel_server_host, tunnel_server_port, app, instance_id, port = 'debug', local_host = '127.0.0.1', local_port = 1847, use_tls = true) EventMachine::start_server(local_host, local_port, TunnelListener, token, tunnel_server_host, tunnel_server_port, app.guid, instance_id, port, use_tls) end |