/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionIdle(NextFilter nextFilter, IoSession session, IdleStatus status) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session.getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary(new IoSessionEvent(nextFilter, session, status)); }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionOpened(NextFilter nextFilter, IoSession session) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session.getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.OPENED)); }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionClosed(NextFilter nextFilter, IoSession session) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session.getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.CLOSED)); } }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionIdle(NextFilter nextFilter, IoSession session, IdleStatus status) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session.getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary(new IoSessionEvent(nextFilter, session, status)); }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionClosed(NextFilter nextFilter, IoSession session) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session.getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.CLOSED)); } }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionOpened(NextFilter nextFilter, IoSession session) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session.getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.OPENED)); }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionIdle(NextFilter nextFilter, IoSession session, IdleStatus status) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session .getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, status)); }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionClosed(NextFilter nextFilter, IoSession session) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session .getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.CLOSED)); } }
/** * Event is stored in an {@link IoSessionEventQueue} for later delivery to the next filter * in the chain when the handshake would have succeed. This will prevent the rest of * the filter chain from being affected by this filter internals. * * @param nextFilter the next filter in filter chain * @param session the session object */ @Override public void sessionOpened(NextFilter nextFilter, IoSession session) throws Exception { ProxyIoSession proxyIoSession = (ProxyIoSession) session .getAttribute(ProxyIoSession.PROXY_SESSION); proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.OPENED)); }
proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.CREATED));
proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.CREATED));
proxyIoSession.getEventQueue().enqueueEventIfNecessary( new IoSessionEvent(nextFilter, session, IoSessionEventType.CREATED));