public void addSlave(Socket s) { if (s == null) { return; } ConnectionInfo ci = new ConnectionInfo(); ci.setSocket(s); addSlave(s, ci); }