Class: Wamp::Client::Manager::RegistrationObject
- Inherits:
-
Object
- Object
- Wamp::Client::Manager::RegistrationObject
- Defined in:
- lib/wamp/client/manager/registration.rb
Instance Attribute Summary collapse
-
#handler ⇒ Object
Returns the value of attribute handler.
-
#i_handler ⇒ Object
Returns the value of attribute i_handler.
-
#id ⇒ Object
Returns the value of attribute id.
-
#options ⇒ Object
Returns the value of attribute options.
-
#procedure ⇒ Object
Returns the value of attribute procedure.
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
-
#initialize(procedure, handler, options, i_handler, session, id) ⇒ RegistrationObject
constructor
A new instance of RegistrationObject.
- #unregister ⇒ Object
Constructor Details
#initialize(procedure, handler, options, i_handler, session, id) ⇒ RegistrationObject
Returns a new instance of RegistrationObject.
11 12 13 14 15 16 17 18 |
# File 'lib/wamp/client/manager/registration.rb', line 11 def initialize(procedure, handler, , i_handler, session, id) self.procedure = procedure self.handler = handler self. = self.i_handler = i_handler self.session = session self.id = id end |
Instance Attribute Details
#handler ⇒ Object
Returns the value of attribute handler.
9 10 11 |
# File 'lib/wamp/client/manager/registration.rb', line 9 def handler @handler end |
#i_handler ⇒ Object
Returns the value of attribute i_handler.
9 10 11 |
# File 'lib/wamp/client/manager/registration.rb', line 9 def i_handler @i_handler end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/wamp/client/manager/registration.rb', line 9 def id @id end |
#options ⇒ Object
Returns the value of attribute options.
9 10 11 |
# File 'lib/wamp/client/manager/registration.rb', line 9 def @options end |
#procedure ⇒ Object
Returns the value of attribute procedure.
9 10 11 |
# File 'lib/wamp/client/manager/registration.rb', line 9 def procedure @procedure end |
#session ⇒ Object
Returns the value of attribute session.
9 10 11 |
# File 'lib/wamp/client/manager/registration.rb', line 9 def session @session end |
Instance Method Details
#unregister ⇒ Object
20 21 22 |
# File 'lib/wamp/client/manager/registration.rb', line 20 def unregister self.session.unregister(self) end |