public USKSparseProxyCallback subscribeSparse(USK origUSK, USKCallback cb, RequestClient client) { return subscribeSparse(origUSK, cb, false, client); }
public SubscribeUSK(SubscribeUSKMessage message, NodeClientCore core, FCPConnectionHandler handler) throws IdentifierCollisionException { this.handler = handler; this.dontPoll = message.dontPoll; this.identifier = message.identifier; this.core = core; this.usk = message.key; prio = message.prio; prioProgress = message.prioProgress; handler.addUSKSubscription(identifier, this); if((!message.dontPoll) && message.sparsePoll) toUnsub = core.uskManager.subscribeSparse(message.key, this, message.ignoreUSKDatehints, handler.getRebootClient().lowLevelClient(message.realTimeFlag)); else { core.uskManager.subscribe(message.key, this, !message.dontPoll, message.ignoreUSKDatehints, handler.getRebootClient().lowLevelClient(message.realTimeFlag)); toUnsub = this; } }