subQos.setMultiSubscribe(false);
conn.subscribe(subKey, subQos);
}
this.maxResponseEntries = this.getLong("replication.sqlMaxEntries", 10L);
RequestBroker rb = getEngineGlobal(this.global).getRequestBroker();
rb.getAuthenticate(null).addClientListener(this);
SessionInfo[] sessionInfos = rb.getAuthenticate(null).getSessionInfoArr();
for (int i=0; i < sessionInfos.length; i++) {
SessionInfo sessionInfo = sessionInfos[i];
ClientEvent event = new ClientEvent(sessionInfo);
sessionAdded(event);
I_SubscriptionListener oldListener = rb.getSubscriptionListener(getPriority());
if (oldListener == null)
rb.addSubscriptionListener(this);
SubscriptionInfo[] subInfos = rb.getClientSubscriptions().getSubscriptions(sessionInfo);
for (int j=0; j < subInfos.length; j++) {
SubscriptionEvent subEvent = new SubscriptionEvent(subInfos[j]);
subscriptionAdd(subEvent);
}
}