Class: Fairy::POutputNull

Inherits:
PIOFilter show all
Defined in:
lib/fairy/node/p-output-null.rb

Constant Summary collapse

ST_OUTPUT_FINISH =
:ST_OUTPUT_FINISH

Constants inherited from PIOFilter

Fairy::PIOFilter::ST_WAIT_IMPORT

Constants inherited from PFilter

Fairy::PFilter::END_OF_STREAM, Fairy::PFilter::ST_ACTIVATE, Fairy::PFilter::ST_FINISH, Fairy::PFilter::ST_INIT

Instance Attribute Summary

Attributes inherited from PFilter

#IGNORE_EXCEPTION, #id, #log_id, #ntask

Instance Method Summary collapse

Methods inherited from PFilter

#abort_running, #break_running, #each, #global_break, #global_break_from_other, #handle_exception, #key, #key=, #next, #no, #no=, #notice_status, #processor, #start, #start_export, #start_watch_status, #status=, #terminate, #terminate_proc

Constructor Details

#initialize(id, ntask, bjob, opt) ⇒ POutputNull

DeepConnect.def_single_method_spec(self, “REF new(REF, REF, VAL, REF)”)



16
17
18
# File 'lib/fairy/node/p-output-null.rb', line 16

def initialize(id, ntask, bjob, opt)
  super
end

Instance Method Details

#basic_start(&block) ⇒ Object



25
26
27
28
29
30
# File 'lib/fairy/node/p-output-null.rb', line 25

def basic_start(&block)
  for l in @input
	l
  end
  self.status = ST_OUTPUT_FINISH
end

#input=(input) ⇒ Object



20
21
22
23
# File 'lib/fairy/node/p-output-null.rb', line 20

def input=(input)
  super
  start
end