/** * <p>Callback method invoked when an endpoint is opened.</p> * * @param endpoint the endpoint being opened */ protected void endPointOpened(EndPoint endpoint) { endpoint.onOpen(); }
/** * <p>Callback method invoked when an endpoint is opened.</p> * * @param endpoint the endpoint being opened */ protected void endPointOpened(EndPoint endpoint) { endpoint.onOpen(); }
/** * <p>Callback method invoked when an endpoint is opened.</p> * * @param endpoint the endpoint being opened */ protected void endPointOpened(EndPoint endpoint) { endpoint.onOpen(); }
/** * <p>Callback method invoked when an endpoint is opened.</p> * * @param endpoint the endpoint being opened */ protected void endPointOpened(EndPoint endpoint) { endpoint.onOpen(); }
@Override public void onOpen() { _endp.onOpen(); }
@Override public void onOpen() { _underlying.onOpen(); }
public void onOpen() { _endp.onOpen(); }
private void createEndPoint(SelectableChannel channel, SelectionKey selectionKey) throws IOException { EndPoint endPoint = _selectorManager.newEndPoint(channel, this, selectionKey); Connection connection = _selectorManager.newConnection(channel, endPoint, selectionKey.attachment()); endPoint.setConnection(connection); selectionKey.attach(endPoint); endPoint.onOpen(); _selectorManager.endPointOpened(endPoint); _selectorManager.connectionOpened(connection); if (LOG.isDebugEnabled()) LOG.debug("Created {}", endPoint); }
private void createEndPoint(SelectableChannel channel, SelectionKey selectionKey) throws IOException { EndPoint endPoint = _selectorManager.newEndPoint(channel, this, selectionKey); Connection connection = _selectorManager.newConnection(channel, endPoint, selectionKey.attachment()); endPoint.setConnection(connection); selectionKey.attach(endPoint); endPoint.onOpen(); _selectorManager.endPointOpened(endPoint); _selectorManager.connectionOpened(connection); if (LOG.isDebugEnabled()) LOG.debug("Created {}", endPoint); }
@Override public long getIdleTimeout () { return endPoint.getIdleTimeout(); } @Override public Connection getConnection () { return endPoint.getConnection(); } @Override public void onOpen () { endPoint.onOpen(); } @Override public void onClose () { endPoint.onClose(); } @Override public boolean isOptimizedForDirectBuffers() { return endPoint.isOptimizedForDirectBuffers(); }