public statusEventHandler(int status, String _text) { state = status; text = _text; } public int getStatus(){