class TaskJuggler::DaemonConnector
Public Class Methods
new(authKey, host, port, uri)
click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 101 def initialize(authKey, host, port, uri) @authKey = authKey @host = host @port = port @uri = uri @unsafeMode = true @broker = connectDaemon end
Public Instance Methods
disconnect()
click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 111 def disconnect disconnectDaemon @broker = nil end
getProject(projectId)
click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 116 def getProject(projectId) @broker.getProject(@authKey, projectId) end
getProjectList()
click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 120 def getProjectList @broker.getProjectList(@authKey) end