class O3D3XX::O3D3xxProxy

This class encapsulates the XML-RPC general o3d3xx access

Public Class Methods

new(host='192.168.0.69', port=80) click to toggle source
Calls superclass method XmlRPCBase::new
# File lib/o3d3xx/xmlrpc.rb, line 141
def initialize(host='192.168.0.69', port=80)
  super(:host => host, :port => port, :path => 'com.ifm.efector/')
  @session = nil
end

Public Instance Methods

closeSession() click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 150
def closeSession()
  @session_id = nil
  @session.cancelSession() unless @session == nil
  @session = nil
end
getSessionID() click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 156
def getSessionID
  return @session_id
end
getSessionProxy(*args) click to toggle source
# File lib/o3d3xx/xmlrpc.rb, line 146
def getSessionProxy(*args)
  @session_id = requestSession(*args)
  @session = O3D3xx::SessionProxy.new(self)
end