public List<Node> availableNodes(boolean thisGroup) {
ArrayList<Node> list = new ArrayList<Node>();
if(thisGroup) {
try {
Node thisNode = Communicator.getCommunicator().getNodeForId(realNodeId);
for(Node n : thisNode.getNodeGroup().getNodes())
if(n.getNodeId()!=null)
list.add(n);
} catch (Exception ex) {
Logger.getLogger(CoreManager.class.getName()).log(Level.SEVERE, null, ex);