@Override public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) { // xenon custom logic (this does not modify the state of streamId) associateOperationAndStreamId(msg); // delegate to netty logic super.write(ctx, msg, promise); }