Class: WampClient::Registration
- Inherits:
-
Object
- Object
- WampClient::Registration
- Defined in:
- lib/wamp_client/session.rb
Instance Attribute Summary collapse
-
#handler ⇒ Object
Returns the value of attribute 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, session, id) ⇒ Registration
constructor
A new instance of Registration.
- #unregister ⇒ Object
Constructor Details
#initialize(procedure, handler, options, session, id) ⇒ Registration
Returns a new instance of Registration.
113 114 115 116 117 118 119 |
# File 'lib/wamp_client/session.rb', line 113 def initialize(procedure, handler, , session, id) self.procedure = procedure self.handler = handler self. = self.session = session self.id = id end |
Instance Attribute Details
#handler ⇒ Object
Returns the value of attribute handler.
111 112 113 |
# File 'lib/wamp_client/session.rb', line 111 def handler @handler end |
#id ⇒ Object
Returns the value of attribute id.
111 112 113 |
# File 'lib/wamp_client/session.rb', line 111 def id @id end |
#options ⇒ Object
Returns the value of attribute options.
111 112 113 |
# File 'lib/wamp_client/session.rb', line 111 def @options end |
#procedure ⇒ Object
Returns the value of attribute procedure.
111 112 113 |
# File 'lib/wamp_client/session.rb', line 111 def procedure @procedure end |
#session ⇒ Object
Returns the value of attribute session.
111 112 113 |
# File 'lib/wamp_client/session.rb', line 111 def session @session end |
Instance Method Details
#unregister ⇒ Object
121 122 123 |
# File 'lib/wamp_client/session.rb', line 121 def unregister self.session.unregister(self) end |