Module: FFWD::TCP

Defined in:
lib/ffwd/protocol/tcp.rb,
lib/ffwd/protocol/tcp/bind.rb,
lib/ffwd/protocol/tcp/connection.rb,
lib/ffwd/protocol/tcp/plain_connect.rb,
lib/ffwd/protocol/tcp/flushing_connect.rb

Defined Under Namespace

Classes: Bind, Connection, FlushingConnect, PlainConnect, SetupInput, SetupOutput

Class Method Summary collapse

Class Method Details

.bind(config, log, connection) ⇒ Object



82
83
84
# File 'lib/ffwd/protocol/tcp.rb', line 82

def self.bind config, log, connection
  SetupInput.new config, log, connection
end

.connect(config, log, handler) ⇒ Object



56
57
58
# File 'lib/ffwd/protocol/tcp.rb', line 56

def self.connect config, log, handler
  SetupOutput.new config, log, handler
end

.familyObject



24
25
26
# File 'lib/ffwd/protocol/tcp.rb', line 24

def self.family
  :tcp
end