Class: ActionService::Protocol::AbstractProtocol
- Inherits:
-
Object
- Object
- ActionService::Protocol::AbstractProtocol
- Defined in:
- lib/action_service/protocol/abstract.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#container_klass ⇒ Object
readonly
Returns the value of attribute container_klass.
Instance Method Summary collapse
-
#initialize(container_klass) ⇒ AbstractProtocol
constructor
A new instance of AbstractProtocol.
- #marshal_exception(exception) ⇒ Object
- #marshal_response(request_info, export_info, return_value) ⇒ Object
- #request_info(request) ⇒ Object
- #request_supported?(request) ⇒ Boolean
- #unmarshal_request(request_info, export_info) ⇒ Object
Constructor Details
#initialize(container_klass) ⇒ AbstractProtocol
Returns a new instance of AbstractProtocol.
9 10 11 |
# File 'lib/action_service/protocol/abstract.rb', line 9 def initialize(container_klass) @container_klass = container_klass end |
Instance Attribute Details
#container_klass ⇒ Object (readonly)
Returns the value of attribute container_klass.
7 8 9 |
# File 'lib/action_service/protocol/abstract.rb', line 7 def container_klass @container_klass end |
Instance Method Details
#marshal_exception(exception) ⇒ Object
21 22 23 |
# File 'lib/action_service/protocol/abstract.rb', line 21 def marshal_exception(exception) raise NotImplementedError end |
#marshal_response(request_info, export_info, return_value) ⇒ Object
17 18 19 |
# File 'lib/action_service/protocol/abstract.rb', line 17 def marshal_response(request_info, export_info, return_value) raise NotImplementedError end |
#request_info(request) ⇒ Object
25 26 27 |
# File 'lib/action_service/protocol/abstract.rb', line 25 def request_info(request) raise NotImplementedError end |
#request_supported?(request) ⇒ Boolean
29 30 31 |
# File 'lib/action_service/protocol/abstract.rb', line 29 def request_supported?(request) raise NotImplementedError end |
#unmarshal_request(request_info, export_info) ⇒ Object
13 14 15 |
# File 'lib/action_service/protocol/abstract.rb', line 13 def unmarshal_request(request_info, export_info) raise NotImplementedError end |