class MEE::RFC5424::TLSFactory

Public Class Methods

new( host, port ) click to toggle source
Calls superclass method MEE::RFC5424::TCPFactory::new
# File lib/mee/rfc5424.rb, line 74
def initialize( host, port )
        super
end

Public Instance Methods

dial() click to toggle source
Calls superclass method MEE::RFC5424::TCPFactory#dial
# File lib/mee/rfc5424.rb, line 78
def dial()
        clear_text_transport = super
        secure_transport = OpenSSL::SSL::SSLSocket.new clear_text_transport
        secure_transport.connect
        secure_transport
end