/** * Creates a new instance. * * @param executor The executor to use */ public VmPipeConnector(Executor executor) { super(new DefaultVmPipeSessionConfig(), executor); idleChecker = new IdleStatusChecker(); // we schedule the idle status checking task in this service exceutor // it will be woke up every seconds executeWorker(idleChecker.getNotifyingTask(), "idleStatusChecker"); }
/** * {@inheritDoc} */ @Override protected void dispose0() throws Exception { // stop the idle checking task idleChecker.getNotifyingTask().cancel(); }
idleChecker.addSession(localSession); } catch (Exception e) { future.setException(e); idleChecker.addSession(remoteSession); } catch (Exception e) { ExceptionMonitor.getInstance().exceptionCaught(e);
/** * {@inheritDoc} */ @Override protected void dispose0() throws Exception { // stop the idle checking task idleChecker.getNotifyingTask().cancel(); }
idleChecker.addSession(localSession); } catch (Exception e) { future.setException(e); idleChecker.addSession(remoteSession); } catch (Exception e) { ExceptionMonitor.getInstance().exceptionCaught(e);
/** * Creates a new instance. * * @param executor The executor to use */ public VmPipeAcceptor(Executor executor) { super(new DefaultVmPipeSessionConfig(), executor); idleChecker = new IdleStatusChecker(); // we schedule the idle status checking task in this service exceutor // it will be woke up every seconds executeWorker(idleChecker.getNotifyingTask(), "idleStatusChecker"); }
@Override protected IoFuture dispose0() throws Exception { // stop the idle checking task idleChecker.getNotifyingTask().cancel(); return null; }
idleChecker.addSession(localSession); } catch (Throwable t) { future.setException(t); idleChecker.addSession(remoteSession); } catch (Throwable t) { ExceptionMonitor.getInstance().exceptionCaught(t);
/** * Creates a new instance. */ public VmPipeAcceptor(Executor executor) { super(new DefaultVmPipeSessionConfig(), executor); idleChecker = new IdleStatusChecker(); // we schedule the idle status checking task in this service exceutor // it will be woke up every seconds executeWorker(idleChecker.getNotifyingTask(), "idleStatusChecker"); }
/** * {@inheritDoc} */ @Override protected void dispose0() throws Exception { // stop the idle checking task idleChecker.getNotifyingTask().cancel(); unbind(); }
/** * Creates a new instance. * * @param executor The executor to use */ public VmPipeAcceptor(Executor executor) { super(new DefaultVmPipeSessionConfig(), executor); idleChecker = new IdleStatusChecker(); // we schedule the idle status checking task in this service exceutor // it will be woke up every seconds executeWorker(idleChecker.getNotifyingTask(), "idleStatusChecker"); }
/** * {@inheritDoc} */ @Override protected void dispose0() throws Exception { // stop the idle checking task idleChecker.getNotifyingTask().cancel(); unbind(); }
/** * Creates a new instance. */ public VmPipeConnector(Executor executor) { super(new DefaultVmPipeSessionConfig(), executor); idleChecker = new IdleStatusChecker(); // we schedule the idle status checking task in this service exceutor // it will be woke up every seconds executeWorker(idleChecker.getNotifyingTask(), "idleStatusChecker"); }
@Override protected IoFuture dispose0() throws Exception { // stop the idle checking task idleChecker.getNotifyingTask().cancel(); unbind(); return null; }
/** * Creates a new instance. * * @param executor The executor to use */ public VmPipeConnector(Executor executor) { super(new DefaultVmPipeSessionConfig(), executor); idleChecker = new IdleStatusChecker(); // we schedule the idle status checking task in this service exceutor // it will be woke up every seconds executeWorker(idleChecker.getNotifyingTask(), "idleStatusChecker"); }