if (name.equals(worker)) {
//log.debug("Dont send to self");
continue;
}
if (reg.hasClient(worker)) {
IClient recip = reg.lookupClient(worker);
Set<IConnection> rcons = recip.getConnections(scope);
//log.debug("Recipient has {} connections", rcons.size());
Object[] sendobj = new Object[] { client.getId(), "This is a message from " + name };
for (IConnection rcon : rcons) {
if (rcon instanceof IServiceCapableConnection) {