module Plumbus::DriverFacilities

Public Instance Methods

emit_message(sid, action, payload) click to toggle source
# File lib/plumbus/driver_facilities.rb, line 9
def emit_message sid, action, payload
  Ports.forward_message port:self, sid:sid, action:action, payload:payload
end
invalidate_supported_actions() click to toggle source

This is imported into the Port (which is a driver) interface

# File lib/plumbus/driver_facilities.rb, line 5
def invalidate_supported_actions
  Ports.refresh_port_routing_table self
end
raise_signal(name, info) click to toggle source
# File lib/plumbus/driver_facilities.rb, line 13
def raise_signal name, info
  Ports.signal port:self, name:name, info:info
end