Subversion Repositories SmartDukaan

Rev

Rev 4089 | Rev 4793 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4089 Rev 4624
Line 197... Line 197...
197
            throws TException {
197
            throws TException {
198
        return agentHandler.getPermissionsForRoleName(roleName);
198
        return agentHandler.getPermissionsForRoleName(roleName);
199
    }
199
    }
200
 
200
 
201
	public boolean isAlive() throws TException {
201
	public boolean isAlive() throws TException {
-
 
202
        try {
-
 
203
            return !agentHandler.getAgents(null).isEmpty();
202
		// TODO Auto-generated method stub
204
        } catch (Exception e) {
-
 
205
            log.error("Could not fetch agents", e);
-
 
206
        }
-
 
207
 
203
		return true;
208
        return false;
204
	}
209
    }
205
 
210
 
206
	public void closeSession() throws TException {
211
	public void closeSession() throws TException {
207
		// TODO Auto-generated method stub
-
 
208
		
-
 
209
	}
212
	}
210
}
213
}