/** * Returns a fake {@link Channel} which is required internally when creating a context. */ protected final Channel fakeChannel() { if (channel == null) { channel = new FakeChannel(eventLoop(), alloc(), remoteAddress(), localAddress()); } return channel; }