Class: ActionService::Protocol::AbstractProtocol

Inherits:
Object
  • Object
show all
Defined in:
lib/action_service/protocol/abstract.rb

Overview

:nodoc:

Direct Known Subclasses

Soap::SoapProtocol, XmlRpc::XmlRpcProtocol

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(container_class) ⇒ AbstractProtocol

Returns a new instance of AbstractProtocol.



12
13
14
# File 'lib/action_service/protocol/abstract.rb', line 12

def initialize(container_class)
  @container_class = container_class
end

Instance Attribute Details

#container_classObject (readonly)

Returns the value of attribute container_class.



10
11
12
# File 'lib/action_service/protocol/abstract.rb', line 10

def container_class
  @container_class
end

Class Method Details

.create_protocol_request(container_class, action_pack_request) ⇒ Object



28
29
30
# File 'lib/action_service/protocol/abstract.rb', line 28

def self.create_protocol_request(container_class, action_pack_request)
  nil
end

Instance Method Details

#marshal_exception(exception) ⇒ Object

Raises:

  • (NotImplementedError)


24
25
26
# File 'lib/action_service/protocol/abstract.rb', line 24

def marshal_exception(exception)
  raise NotImplementedError
end

#marshal_response(protocol_request, return_value) ⇒ Object

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/action_service/protocol/abstract.rb', line 20

def marshal_response(protocol_request, return_value)
  raise NotImplementedError
end

#unmarshal_request(protocol_request) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/action_service/protocol/abstract.rb', line 16

def unmarshal_request(protocol_request)
  raise NotImplementedError
end