Class: ActionService::Protocol::AbstractProtocol

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

Direct Known Subclasses

Soap::SoapProtocol, XmlRpc::XmlRpcProtocol

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(container_klass) ⇒ AbstractProtocol

Returns a new instance of AbstractProtocol.



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

def initialize(container_klass)
  @container_klass = container_klass
end

Instance Attribute Details

#container_klassObject (readonly)

Returns the value of attribute container_klass.



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

def container_klass
  @container_klass
end

Instance Method Details

#marshal_exception(exception) ⇒ Object

Raises:

  • (NotImplementedError)


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

def marshal_exception(exception)
  raise NotImplementedError
end

#marshal_response(request_info, export_info, return_value, strict = true) ⇒ Object

Raises:

  • (NotImplementedError)


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

def marshal_response(request_info, export_info, return_value, strict=true)
  raise NotImplementedError
end

#request_infoObject

Raises:

  • (NotImplementedError)


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

def request_info
  raise NotImplementedError
end

#request_supported?(request) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


31
32
33
# File 'lib/action_service/protocol/abstract.rb', line 31

def request_supported?(request)
  raise NotImplementedError
end

#unmarshal_request(request_info, export_info, strict = true) ⇒ Object

Raises:

  • (NotImplementedError)


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

def unmarshal_request(request_info, export_info, strict=true)
  raise NotImplementedError
end