package com.team5.aLife.BaseStation;

public class AddUserReply extends AbstractReply{

	private boolean result;
	private String message;
	
	public AddUserReply(){
		//  Do Nothing.  Needed for JSON
	}
	
	public AddUserReply(boolean result, String message)
	{
		this.result = result;
		this.message = message;
	}
	
	@Override
	public int getReplyType() {
		// TODO Auto-generated method stub
		return ADD_USER_REPLY;
	}
	
	public boolean didUserGetAdded(){
		return result;
	}
	
	public String getErrorMessage(){
		return message;
	}

}
