Class: Appcelerator::Dispatcher::Message
- Inherits:
-
Object
- Object
- Appcelerator::Dispatcher::Message
- Defined in:
- lib/appcelerator/dispatcher.rb
Instance Attribute Summary collapse
-
#message_type ⇒ Object
Returns the value of attribute message_type.
-
#params ⇒ Object
Returns the value of attribute params.
-
#request ⇒ Object
Returns the value of attribute request.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
-
#response ⇒ Object
Returns the value of attribute response.
-
#response_type ⇒ Object
Returns the value of attribute response_type.
-
#session ⇒ Object
Returns the value of attribute session.
Instance Method Summary collapse
-
#initialize(request, session, message_type, params, request_id) ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize(request, session, message_type, params, request_id) ⇒ Message
Returns a new instance of Message.
58 59 60 61 62 63 64 |
# File 'lib/appcelerator/dispatcher.rb', line 58 def initialize(request, session, , params, request_id) @request = request @session = session @message_type = @params = params @request_id = request_id end |
Instance Attribute Details
#message_type ⇒ Object
Returns the value of attribute message_type.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def @message_type end |
#params ⇒ Object
Returns the value of attribute params.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def params @params end |
#request ⇒ Object
Returns the value of attribute request.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def request @request end |
#request_id ⇒ Object
Returns the value of attribute request_id.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def request_id @request_id end |
#response ⇒ Object
Returns the value of attribute response.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def response @response end |
#response_type ⇒ Object
Returns the value of attribute response_type.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def response_type @response_type end |
#session ⇒ Object
Returns the value of attribute session.
57 58 59 |
# File 'lib/appcelerator/dispatcher.rb', line 57 def session @session end |