Class: LS4::FileRelayTimeStampService

Inherits:
RelayTimeStampService show all
Defined in:
lib/ls4/service/rts_file.rb

Defined Under Namespace

Classes: Stamp

Instance Method Summary collapse

Methods inherited from Service

init

Methods included from EventBus::SingletonMixin

#ebus_bind!, #ebus_connect, extended

Methods included from EventBus::BusMixin

#ebus_all_slots, #ebus_disconnect!

Methods included from EventBus::DeclarerBase::Methods

#connect, #ebus_all_slots, #ebus_call_log, #ebus_call_slots, #ebus_signal_error, #ebus_signal_log, #ebus_signal_slots

Methods included from EventBus::DeclarerBase

#call_slot, #signal_slot

Instance Method Details

#init(expr) ⇒ Object



24
25
26
# File 'lib/ls4/service/rts_file.rb', line 24

def init(expr)
	@dir = expr
end

#open(nid) ⇒ Object



70
71
72
# File 'lib/ls4/service/rts_file.rb', line 70

def open(nid)
	Stamp.new("#{@dir}/rts-#{nid}")
end