use of io.netty.handler.codec.ByteToMessageDecoder in project LogHub by fbacchella.
the class GenericTcp method addHandlers.
@Override
public void addHandlers(ChannelPipeline pipe) {
ByteToMessageDecoder splitter = getSplitter();
if (splitter != null) {
pipe.addFirst("Splitter", getSplitter());
}
super.addHandlers(pipe);
}
Aggregations