Class: Wamp::Client::Registration
- Inherits:
-
Object
- Object
- Wamp::Client::Registration
- Defined in:
- lib/wamp/client/session.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) ⇒ Registration
constructor
A new instance of Registration.
- #unregister ⇒ Object
Constructor Details
#initialize(procedure, handler, options, i_handler, session, id) ⇒ Registration
Returns a new instance of Registration.
134 135 136 137 138 139 140 141 |
# File 'lib/wamp/client/session.rb', line 134 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.
132 133 134 |
# File 'lib/wamp/client/session.rb', line 132 def handler @handler end |
#i_handler ⇒ Object
Returns the value of attribute i_handler.
132 133 134 |
# File 'lib/wamp/client/session.rb', line 132 def i_handler @i_handler end |
#id ⇒ Object
Returns the value of attribute id.
132 133 134 |
# File 'lib/wamp/client/session.rb', line 132 def id @id end |
#options ⇒ Object
Returns the value of attribute options.
132 133 134 |
# File 'lib/wamp/client/session.rb', line 132 def end |
#procedure ⇒ Object
Returns the value of attribute procedure.
132 133 134 |
# File 'lib/wamp/client/session.rb', line 132 def procedure @procedure end |
#session ⇒ Object
Returns the value of attribute session.
132 133 134 |
# File 'lib/wamp/client/session.rb', line 132 def session @session end |
Instance Method Details
#unregister ⇒ Object
143 144 145 |
# File 'lib/wamp/client/session.rb', line 143 def unregister self.session.unregister(self) end |