WrappedSocketConnection connection = listenToChangesConnections.get(i);
try {
connection.writeString(interfaceName);
connection.writeInt(keys.length);
for (Long key : keys) {
connection.writeLong(key);
}
connection.flush();
long response = connection.readLong();
if (response != LONG_OK) {
throw new RuntimeException("Unexpected response " + response + " from " + connection.getInetAddress());