class MEE::RFC5424::TCPFactory

Public Class Methods

new( host, port ) click to toggle source
# File lib/mee/rfc5424.rb, line 62
def initialize( host, port )
        @host = host
        @port = port
end

Public Instance Methods

dial() click to toggle source
# File lib/mee/rfc5424.rb, line 67
def dial()
        target = TCPSocket.new( @host, @port )
        target
end