use of com.hotels.styx.common.FsmEventProcessor in project styx by ExpediaGroup.
the class HttpPipelineHandler method channelActive.
@Override
public void channelActive(ChannelHandlerContext ctx) throws Exception {
String loggingPrefix = format("%s -> %s", ctx.channel().remoteAddress(), ctx.channel().localAddress());
this.eventProcessor = new QueueDrainingEventProcessor(new FsmEventProcessor<>(stateMachine, (throwable, state) -> {
}, loggingPrefix));
super.channelActive(ctx);
}
Aggregations