Method: TargetNode#initialize

Defined in:
lib/ls4/command/top.rb

#initialize(nid, address, name, rsids, location, fault) ⇒ TargetNode

Returns a new instance of TargetNode.



89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/ls4/command/top.rb', line 89

def initialize(nid, address, name, rsids, location, fault)
  @nid = nid
  @address = address
  @name = name
  @rsids = rsids
  @location = location
  @fault = fault
  @time = Time.at(0)
  @before_read  = 0
  @before_write = 0
  @futures = []
end