Class: Artery::Backends::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/artery/backends/base.rb

Direct Known Subclasses

Fake, NATSPure

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config = {}) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/artery/backends/base.rb', line 8

def initialize(config = {})
  @config = config
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



6
7
8
# File 'lib/artery/backends/base.rb', line 6

def config
  @config
end

Instance Method Details

#connect(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/artery/backends/base.rb', line 16

def connect(*_args)
  raise NotImplementedError
end

#publish(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


28
29
30
# File 'lib/artery/backends/base.rb', line 28

def publish(*_args)
  raise NotImplementedError
end

#request(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


32
33
34
# File 'lib/artery/backends/base.rb', line 32

def request(*_args)
  raise NotImplementedError
end

#start(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/artery/backends/base.rb', line 12

def start(*_args)
  raise NotImplementedError
end

#stop(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


36
37
38
# File 'lib/artery/backends/base.rb', line 36

def stop(*_args)
  raise NotImplementedError
end

#subscribe(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/artery/backends/base.rb', line 20

def subscribe(*_args)
  raise NotImplementedError
end

#unsubscribe(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/artery/backends/base.rb', line 24

def unsubscribe(*_args)
  raise NotImplementedError
end