Module: Genesis::Echo::Protocol

Includes:
Protocol
Included in:
Agent, Handler
Defined in:
lib/genesis/protocol/echo/protocol.rb

Overview

Implement a simple protocol to demonstrate how to write a protocol, and facilitate testing. In keeping with event machine tradition, it’s a simple ‘echo’ protocol.

Class Method Summary collapse

Methods included from Protocol

included

Class Method Details

.protocolObject



11
12
13
# File 'lib/genesis/protocol/echo/protocol.rb', line 11

def self.protocol
  :echo
end