}
/** private helper to unSubscribe */
private String[] unSubscribe(SessionInfo sessionInfo, String qos) throws XmlBlasterException {
String sessionName = sessionInfo.getSessionName().getAbsoluteName();
UnSubscribeKey uk = new UnSubscribeKey(serverScope, uniqueKey);
UnSubscribeQos uq;
if (qos == null || qos.length() == 0 || qos.equalsIgnoreCase("String"))
uq = new UnSubscribeQos(serverScope);
else
uq = new UnSubscribeQos(serverScope, serverScope.getQueryQosFactory().readObject(qos));
UnSubscribeQosServer uqs = new UnSubscribeQosServer(serverScope, uq.getData());
String[] ret = serverScope.getRequestBroker().unSubscribe(sessionInfo, uk.getData(), uqs);
if (ret.length == 0)
return new String[] { "Unsubscribe of client '" + sessionName + "' failed, the reason is not known" };
for (int i=0; i<ret.length; i++) {