Module: Rmpd::Command::CommandStrategy
- Defined in:
- lib/rmpd/command.rb
Instance Method Summary collapse
Instance Method Details
#execute(connection, *args) ⇒ Object
75 76 77 78 79 80 81 82 |
# File 'lib/rmpd/command.rb', line 75 def execute(connection, *args) connection.send_command(@name, *args) Response.factory(@name).parse(connection.read_response) rescue EOFError puts "CommandStrategy EOFError received, retrying" if $DEBUG connection.close retry end |