Class: Legion::Transport::InProcess::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/legion/transport/in_process.rb

Instance Method Summary collapse

Constructor Details

#initializeChannel

Returns a new instance of Channel.



54
55
56
# File 'lib/legion/transport/in_process.rb', line 54

def initialize
  @open = true
end

Instance Method Details

#acknowledgeObject



76
# File 'lib/legion/transport/in_process.rb', line 76

def acknowledge(*); end

#basic_qos(count, _global: false) ⇒ Object



70
71
72
# File 'lib/legion/transport/in_process.rb', line 70

def basic_qos(count, _global: false)
  prefetch(count)
end

#closeObject



62
63
64
# File 'lib/legion/transport/in_process.rb', line 62

def close
  @open = false
end

#exchange_declareObject



74
# File 'lib/legion/transport/in_process.rb', line 74

def exchange_declare(*); end

#exchange_deleteObject



80
# File 'lib/legion/transport/in_process.rb', line 80

def exchange_delete(*); end

#open?Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/legion/transport/in_process.rb', line 58

def open?
  @open
end

#prefetch(count, _global: false) ⇒ Object



66
67
68
# File 'lib/legion/transport/in_process.rb', line 66

def prefetch(count, _global: false)
  count
end

#rejectObject



78
# File 'lib/legion/transport/in_process.rb', line 78

def reject(*); end