Callback method invoked when this {@link Connection} is opened.
Creators of the connection implementation are responsible for calling this method.
176177178179180181182183184185186
onEndPointOpened(endPoint); Connection connection = getDefaultConnectionFactory().newConnection(this, endPoint); endPoint.setConnection(connection); connection.onOpen(); } public class LocalEndPoint extends ByteArrayEndPoint { private final CountDownLatch _closed = new CountDownLatch(1);
330331332333334335336337338339340
{ if (LOG.isDebugEnabled()) LOG.debug("Upgrade from {} to {}", this, connection); onClose(); getEndPoint().setConnection(connection); connection.onOpen(); _channel.recycle(); _parser.reset(); _generator.reset(); releaseRequestBuffer(); return;
313314315316317318319320321322323
if (connection != null) { LOG.debug("Upgrade from {} to {}", this, connection); onClose(); getEndPoint().setConnection(connection); connection.onOpen(); _channel.reset(); _parser.reset(); _generator.reset(); releaseRequestBuffer(); return;
170171172173174175176177178179180