Class: Acception::Subscriber::Server
- Inherits:
-
Object
- Object
- Acception::Subscriber::Server
- Includes:
- Logging, ServerLogging
- Defined in:
- lib/acception/subscriber/server.rb
Instance Attribute Summary collapse
-
#message_consumer ⇒ Object
readonly
Returns the value of attribute message_consumer.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ Server
constructor
A new instance of Server.
- #start ⇒ Object
Constructor Details
#initialize(options) ⇒ Server
Returns a new instance of Server.
14 15 16 17 18 |
# File 'lib/acception/subscriber/server.rb', line 14 def initialize( ) = configure_server end |
Instance Attribute Details
#message_consumer ⇒ Object (readonly)
Returns the value of attribute message_consumer.
11 12 13 |
# File 'lib/acception/subscriber/server.rb', line 11 def end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
11 12 13 |
# File 'lib/acception/subscriber/server.rb', line 11 def end |
Instance Method Details
#start ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/acception/subscriber/server.rb', line 20 def start log_startup run trap( INT ) { finalize; exit } sleep end |