Class: O3D3XX::ApplicationProxy
- Inherits:
-
XmlRPCBase
- Object
- XmlRPCBase
- O3D3XX::ApplicationProxy
- Defined in:
- lib/o3d3xx/xmlrpc.rb
Overview
This class encapsulates the XML-RPC application access
Instance Attribute Summary
Attributes inherited from XmlRPCBase
Instance Method Summary collapse
- #getImagerProxy ⇒ Object
-
#initialize(proxy) ⇒ ApplicationProxy
constructor
A new instance of ApplicationProxy.
Methods inherited from XmlRPCBase
#dump, #getConfig, #method_missing
Constructor Details
#initialize(proxy) ⇒ ApplicationProxy
Returns a new instance of ApplicationProxy.
54 55 56 57 58 59 |
# File 'lib/o3d3xx/xmlrpc.rb', line 54 def initialize(proxy) config = proxy.getConfig() path = "com.ifm.efector/session_#{proxy.getSessionID()}/edit/application/" super(:host => config[:host], :port => config[:port], :path => path) @img_proxy = O3D3xx::ImagerProxy.new(proxy) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class XmlRPCBase
Instance Method Details
#getImagerProxy ⇒ Object
61 62 63 |
# File 'lib/o3d3xx/xmlrpc.rb', line 61 def getImagerProxy() @img_proxy end |