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
new(server)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 371 def initialize(server) @server = server end
Public Instance Methods
getProjectName(authKey)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 381 def getProjectName(authKey) return false unless @server.checkKey(authKey, 'getReportServer') trap { @server.getProjectName } end
getReportList(authKey)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 387 def getReportList(authKey) return false unless @server.checkKey(authKey, 'getReportServer') trap { @server.getReportList } end
getReportServer(authKey)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 393 def getReportServer(authKey) return false unless @server.checkKey(authKey, 'getReportServer') trap { @server.getReportServer } end
loadProject(authKey, args)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 375 def loadProject(authKey, args) return false unless @server.checkKey(authKey, 'loadProject') trap { @server.loadProject(args) } end
ping(authKey)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 399 def ping(authKey) return false unless @server.checkKey(authKey, 'ping') trap { @server.ping } true end