class TaskJuggler::ProjectServerIface
This is the DRb call interface of the ProjectServer
class. All functions must be authenticated with the proper key.
Public Class Methods
Source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 373 def initialize(server) @server = server end
Public Instance Methods
Source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 383 def getProjectName(authKey) return false unless @server.checkKey(authKey, 'getReportServer') trap { @server.getProjectName } end
Source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 389 def getReportList(authKey) return false unless @server.checkKey(authKey, 'getReportServer') trap { @server.getReportList } end
Source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 395 def getReportServer(authKey) return false unless @server.checkKey(authKey, 'getReportServer') trap { @server.getReportServer } end
Source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 377 def loadProject(authKey, args) return false unless @server.checkKey(authKey, 'loadProject') trap { @server.loadProject(args) } end
Source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 401 def ping(authKey) return false unless @server.checkKey(authKey, 'ping') trap { @server.ping } true end