Method: Mysql::ServerProtocol#initialize

Defined in:
lib/nose/proxy/mysql.rb

#initialize(socket) ⇒ ServerProtocol

Returns a new instance of ServerProtocol.



93
94
95
96
# File 'lib/nose/proxy/mysql.rb', line 93

def initialize(socket)
  # We need a much simpler initialization than the default class
  @sock = socket
end