1 package com.lavans.luz2.lremote.selector.impl;
\r
3 import com.lavans.luz2.lremote.connector.Connector;
\r
4 import com.lavans.luz2.lremote.connector.impl.GroupConnector;
\r
5 import com.lavans.luz2.lremote.node.RemoteNodeGroup;
\r
6 import com.lavans.luz2.lremote.selector.Selector;
\r
9 * Connect to all nodes of same group.
\r
13 public class GroupSelector implements Selector{
\r
15 private RemoteNodeGroup group;
\r
20 public GroupSelector(RemoteNodeGroup nodeGroup){
\r
21 this.group = nodeGroup;
\r
24 public Connector getConnector(){
\r
25 Connector con = new GroupConnector(group);
\r