Class: Isimud::Client Abstract

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/isimud/client.rb

Overview

This class is abstract.

Messaging queue service client

Direct Known Subclasses

BunnyClient, TestClient

Instance Method Summary (collapse)

Methods included from Logging

#log, #logger

Constructor Details

- (Client) initialize(server = nil, options = nil)

Returns a new instance of Client



6
7
# File 'lib/isimud/client.rb', line 6

def initialize(server = nil, options = nil)
end

Instance Method Details

- (Object) bind(queue_name, exchange_name, *keys, &method)



9
10
# File 'lib/isimud/client.rb', line 9

def bind(queue_name, exchange_name, *keys, &method)
end

- (Object) channel



12
13
# File 'lib/isimud/client.rb', line 12

def channel
end

- (Object) close



15
16
# File 'lib/isimud/client.rb', line 15

def close
end

- (Object) connect



18
19
# File 'lib/isimud/client.rb', line 18

def connect
end

- (Boolean) connected?

Returns:

  • (Boolean)


21
22
# File 'lib/isimud/client.rb', line 21

def connected?
end

- (Object) create_queue(queue_name, exchange_name, options = {}, &method)



24
25
# File 'lib/isimud/client.rb', line 24

def create_queue(queue_name, exchange_name, options = {}, &method)
end

- (Object) delete_queue(queue_name)



27
28
# File 'lib/isimud/client.rb', line 27

def delete_queue(queue_name)
end

- (Object) exception_handler(&block)



30
31
# File 'lib/isimud/client.rb', line 30

def exception_handler(&block)
end

- (Object) publish(exchange, routing_key, payload)



33
34
# File 'lib/isimud/client.rb', line 33

def publish(exchange, routing_key, payload)
end

- (Object) reconnect



36
37
# File 'lib/isimud/client.rb', line 36

def reconnect
end

- (Object) reset



39
40
# File 'lib/isimud/client.rb', line 39

def reset
end