987988989990991992993994995996997
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());
10001001100210031004100510061007100810091010
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");
242243244245246247248
} } } return new DummyFuture(); }
260261262263264265266
subscriptions.get(inst).addInterests(sub.getInterests()); } else { subscriptions.put(inst, sub); } return new DummyFuture(); }
281282283284285286287
if (sub != null) { subscriptions.remove(sub.getInstrument()); } } return new DummyFuture(); }
294295296297298299300
return new FailedFuture(); } subscriptions.remove(sub.getInstrument()); return new DummyFuture(); }
262263264265266267268
280281282283284285286
298299300301302303304
311312313314315316317