/** {@inheritDoc} */ @Override public void sendNoFuture(Object msg, IgniteInClosure<IgniteException> ackC) throws IgniteCheckedException { try { chain().onSessionWrite(this, msg, false, ackC); } catch (IgniteCheckedException e) { close(); throw e; } }
chain.onSessionWriteTimeout(ses); assertNull(chain.onSessionClose(ses)); assertNull(chain.onSessionWrite(ses, snd, true, null));
/** {@inheritDoc} */ @Override public GridNioFuture<?> send(Object msg) { try { resetSendScheduleTime(); return chain().onSessionWrite(this, msg, true, null); } catch (IgniteCheckedException e) { close(); return new GridNioFinishedFuture<Object>(e); } }
/** {@inheritDoc} */ @Override public void sendNoFuture(Object msg, IgniteInClosure<IgniteException> ackC) throws IgniteCheckedException { try { chain().onSessionWrite(this, msg, false, ackC); } catch (IgniteCheckedException e) { close(); throw e; } }
/** {@inheritDoc} */ @Override public GridNioFuture<?> send(Object msg) { try { resetSendScheduleTime(); return chain().onSessionWrite(this, msg, true, null); } catch (IgniteCheckedException e) { close(); return new GridNioFinishedFuture<Object>(e); } }