returns the correct serversocketchannel class based on iomode . concode_field_sep PlaceHolder placeHolder concode_field_sep PooledByteBufAllocator createPooledByteBufAllocator concode_elem_sep TransportFrameDecoder createFrameDecoder concode_elem_sep EventLoopGroup createEventLoop concode_elem_sep ThreadFactory createThreadFactory concode_elem_sep String getRemoteAddress concode_elem_sep int getPrivateStaticField concode_elem_sep Class<? extends Channel> getClientChannelClass
Class < ? extends ServerChannel > function ( IOMode arg0 ) { switch ( arg0 ) { case NIO : return NioServerSocketChannel . class ; case EPOLL : return EpollServerSocketChannel . class ; default : throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } }