@Override
    public com.woot4moo.Status processMessage(com.woot4moo.Message message) throws TException {
        if(!initialized){
            init();
        }
        Job job = message.getJob();
        System.out.println("Server side job: "  + job);
        if (Command.START == message.getCommand()) {
            for (Job currentJob : jobs) {

                if (currentJob.getName().equals(job.getName())) {
                    currentJob.setIsRunning(true);
                    return Status.SUCCESS;
                }
            }
        } else if (Command.STOP == message.getCommand()) {
            for (Job currentJob : jobs) {
                if (currentJob.getName().equals(job.getName())) {
                    currentJob.setIsRunning(false);
                    return Status.SUCCESS;
                }
            }
        }
        return Status.FAILURE;
    }