class NXT::Interface::Base

The base implementation of all communication interfaces. This is effectively the basic set of abstract methods that an interface needs to define to slot into this framework.

Public Instance Methods

receive() click to toggle source
# File lib/nxt/interface/base.rb, line 13
def receive
  raise(InterfaceNotImplemented, 'The #receive method must be implemented.')
end
send() click to toggle source
# File lib/nxt/interface/base.rb, line 9
def send
  raise(InterfaceNotImplemented, 'The #send method must be implemented.')
end