timeout
157158159160161162163164165166167
scheduler.scheduleCallback(key, new Runnable() { @Override public void run() { AckCallback cb = removeCallback(sessionId, index); if (cb != null) { cb.onTimeout(); } } }, callback.getTimeout(), TimeUnit.SECONDS); }
155156157158159160161162163164165