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 372 def initialize(server) @server = server end
Public Instance Methods
getProjectName(authKey)
click to toggle source
# File lib/taskjuggler/daemon/ProjectServer.rb, line 382 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 388 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 394 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 376 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 400 def ping(authKey) return false unless @server.checkKey(authKey, 'ping') trap { @server.ping } true end