Class: MEE::RFC5424::TCPFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/mee/rfc5424.rb

Direct Known Subclasses

TLSFactory

Instance Method Summary collapse

Constructor Details

#initialize(host, port) ⇒ TCPFactory

Returns a new instance of TCPFactory.



62
63
64
65
# File 'lib/mee/rfc5424.rb', line 62

def initialize( host, port )
	@host = host
	@port = port
end

Instance Method Details

#dialObject



67
68
69
70
# File 'lib/mee/rfc5424.rb', line 67

def dial()
	target = TCPSocket.new( @host, @port )
	target
end