Class: ClientHALEC

Inherits:
HALEC
  • Object
show all
Defined in:
lib/rack/tctp/halec.rb

Overview

The Client end of an HALEC

Instance Attribute Summary

Attributes inherited from HALEC

#certificate, #ctx, #private_key, #socket_here, #socket_there, #ssl_socket, #url

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ClientHALEC

Returns a new instance of ClientHALEC.



49
50
51
52
53
# File 'lib/rack/tctp/halec.rb', line 49

def initialize(options = {})
  super(options)

  @ssl_socket = OpenSSL::SSL::SSLSocket.new(@socket_here, @ctx)
end