Class: Evma::DatagramProtocol

Inherits:
Protocol
  • Object
show all
Defined in:
lib/evma/protocol.rb

Instance Attribute Summary

Attributes inherited from Protocol

#signature

Instance Method Summary collapse

Methods inherited from Protocol

#close, #close_after_writing, #unbind

Constructor Details

#initialize(sig) ⇒ DatagramProtocol

Returns a new instance of DatagramProtocol.



75
76
77
# File 'lib/evma/protocol.rb', line 75

def initialize sig
  super
end

Instance Method Details

#send_message(data) ⇒ Object



79
80
81
82
# File 'lib/evma/protocol.rb', line 79

def send_message data
  Evma::Reactor.instance # ensure initialized
  raise "unimplemented"
end