936937938939940941942943944945
sb.append(sub.interest() + ","); } } if (!isConnected()) { return new DummyFuture(); } return writeAsync(sb.toString()); }
949950951952953954955956957958959
for(final Subscription sub : subs) { subscriptions.remove(sub.interest()); } if (!isConnected()) { return new DummyFuture(); } /* Have to unsub from everything and resub */ writeAsync("STOP");
984985986987988989990991992993994
private Future<Boolean> unsubInst(final Subscription sub) { subscriptions.remove(sub.interest()); if (!isConnected()) { return new DummyFuture(); } /* Request subscription from JERQ and return the future */ return writeAsync("STOP " + sub.encode());
99799899910001001100210031004100510061007
private Future<Boolean> unsubExc(final Subscription sub) { subscriptions.remove(sub.interest()); if (!isConnected()) { return new DummyFuture(); } /* Have to unsub from everything and resub */ writeAsync("STOP");
246247248249250251252
} } } return new DummyFuture(); }
264265266267268269270
subscriptions.get(inst).addTypes(sub.types()); } else { subscriptions.put(inst, sub); } return new DummyFuture(); }
285286287288289290291
if (sub != null) { subscriptions.remove(sub.encode()); } } return new DummyFuture(); }
298299300301302303304
return new FailedFuture(); } subscriptions.remove(sub.encode()); return new DummyFuture(); }
783784785786787788789790791
} if(!exch.isEmpty()) { return subExcs(exch); } else { return new DummyFuture(); } }
814815816817818819820821822823824
sb.append(subscriptions.get(interest).encode() + ","); } } if (!isConnected()) { return new DummyFuture(); } return writeAsync(sb.toString()); }