class O3D3XX::EditProxy
This class encapsulates the XML-RPC Edit-Mode access
Public Class Methods
new(proxy)
click to toggle source
Calls superclass method
XmlRPCBase::new
# File lib/o3d3xx/xmlrpc.rb, line 83 def initialize(proxy) config = proxy.getConfig() path = "com.ifm.efector/session_#{proxy.getSessionID()}/edit/" super(:host => config[:host], :port => config[:port], :path => path) @proxy = proxy @device = O3D3xx::DeviceProxy.new(@proxy) @application = nil end
Public Instance Methods
closeApplication()
click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 97 def closeApplication() self.stopEditingApplication() unless @application == nil @application = nil end
getApplicationProxy(index)
click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 92 def getApplicationProxy(index) self.editApplication(index) @application = O3D3xx::ApplicationProxy.new(@proxy) end
getDeviceProxy()
click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 102 def getDeviceProxy() @device end