public void run()
    {
        Job job;
        try {
            while ((job = jobQueue.take()) != null) {
                node.addJob(job);
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        } catch (RemoteException e) {
            e.printStackTrace();
        }
    }