class Einhorn::Event::ACKTimer

def self.from_state(state)

def self.from_state(state)
  self.open(state[:time], state[:pid], state[:start])
end

def initialize(time, pid, start = nil)

def initialize(time, pid, start = nil)
  super(time, start) do
    Einhorn::Command.register_timer_ack(time, pid)
  end
  @pid = pid
end

def to_state

def to_state
  {class: self.class.to_s, time: @time, start: @start, pid: @pid}
end