Class: Wamp::Client::Manager::RegistrationObject

Inherits:
Object
  • Object
show all
Defined in:
lib/wamp/client/manager/registration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options, i_handler, session, id)
  self.procedure = procedure
  self.handler = handler
  self.options = options
  self.i_handler = i_handler
  self.session = session
  self.id = id
end

Instance Attribute Details

#handlerObject

Returns the value of attribute handler.



9
10
11
# File 'lib/wamp/client/manager/registration.rb', line 9

def handler
  @handler
end

#i_handlerObject

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

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/wamp/client/manager/registration.rb', line 9

def id
  @id
end

#optionsObject

Returns the value of attribute options.



9
10
11
# File 'lib/wamp/client/manager/registration.rb', line 9

def options
  @options
end

#procedureObject

Returns the value of attribute procedure.



9
10
11
# File 'lib/wamp/client/manager/registration.rb', line 9

def procedure
  @procedure
end

#sessionObject

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

#unregisterObject



20
21
22
# File 'lib/wamp/client/manager/registration.rb', line 20

def unregister
  self.session.unregister(self)
end