class O3D3XX::DeviceProxy

This class encapsulates the XML-RPC device access

Public Class Methods

new(proxy) click to toggle source
Calls superclass method XmlRPCBase::new
# File lib/o3d3xx/xmlrpc.rb, line 69
def initialize(proxy)
  config = proxy.getConfig()
  path = "com.ifm.efector/session_#{proxy.getSessionID()}/edit/device/"
  super(:host => config[:host], :port => config[:port], :path => path)
  @net_proxy = O3D3xx::NetworkProxy.new(proxy)
end

Public Instance Methods

getNetworkProxy() click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 76
def getNetworkProxy()
  @net_proxy
end