29303132333435
int cookie = is.readInt(); Collection<String> keywords = (Collection<String>) is.readObject(); int queryId = connection.addQuery(cookie, keywords); getConnectionManager().iterate(this, new KeywordsContext(queryId, keywords)); }
36373839404142434445
public void iterate(ClientConnection currentClient, IterationContextInterface context) { if (currentClient != requestingClient) { KeywordsContext customContext = context.queryKeywordsContext(); currentClient.sendKeywords(customContext.getCookie(), customContext .getKeywords()); } }