@Override protected EndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey key) throws IOException { @SuppressWarnings("unchecked") Map<String, Object> context = (Map<String, Object>)key.attachment(); SPDYClient client = (SPDYClient)context.get(SPDYClientConnectionFactory.SPDY_CLIENT_CONTEXT_KEY); long clientIdleTimeout = client.getIdleTimeout(); if (clientIdleTimeout < 0) clientIdleTimeout = idleTimeout; return new SelectChannelEndPoint(channel, selectSet, key, getScheduler(), clientIdleTimeout); }
@Override protected EndPoint newEndPoint(SocketChannel channel, ManagedSelector selector, SelectionKey key) { return new SelectChannelEndPoint(channel, selector, key, getScheduler(), getIdleTimeout()); }
protected SelectChannelEndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey key) throws IOException { return new SelectChannelEndPoint(channel, selectSet, key, getScheduler(), getIdleTimeout()); }
@Override protected EndPoint newEndPoint(SocketChannel channel, ManagedSelector selector, SelectionKey key) { return new SelectChannelEndPoint(channel, selector, key, getScheduler(), getIdleTimeout()); }
protected SelectChannelEndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey key) throws IOException { return new SelectChannelEndPoint(channel, selectSet, key, getScheduler(), getIdleTimeout()); }
protected SelectChannelEndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey key) throws IOException { return new SelectChannelEndPoint(channel, selectSet, key, getScheduler(), getIdleTimeout()); }
protected SelectChannelEndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey key) throws IOException { return new SelectChannelEndPoint(channel, selectSet, key, getScheduler(), getIdleTimeout()); }
@Override protected EndPoint newEndPoint(SocketChannel channel, ManagedSelector selector, SelectionKey selectionKey) throws IOException { return new SelectChannelEndPoint(channel, selector, selectionKey, getScheduler(), maxTimeout()); }
@Override protected EndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey selectionKey) throws IOException { LOG.debug("newEndPoint({}, {}, {})",channel,selectSet,selectionKey); return new SelectChannelEndPoint(channel,selectSet,selectionKey,getScheduler(),policy.getIdleTimeout()); }
@Override protected EndPoint newEndPoint(SocketChannel channel, ManagedSelector selectSet, SelectionKey selectionKey) throws IOException { LOG.debug("newEndPoint({}, {}, {})",channel,selectSet,selectionKey); return new SelectChannelEndPoint(channel,selectSet,selectionKey,getScheduler(),policy.getIdleTimeout()); }