class TaskJuggler::DaemonConnector

Public Class Methods

new(authKey, host, port, uri) click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 100
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 110
def disconnect
  disconnectDaemon
  @broker = nil
end
getProject(projectId) click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 115
def getProject(projectId)
  @broker.getProject(@authKey, projectId)
end
getProjectList() click to toggle source
# File lib/taskjuggler/daemon/DaemonConnector.rb, line 119
def getProjectList
  @broker.getProjectList(@authKey)
end