returns the correct client socketchannel 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 ServerChannel> getServerChannelClass
Class < ? extends Channel > function ( IOMode arg0 ) { switch ( arg0 ) { case NIO : return NioSocketChannel . class ; case EPOLL : return EpollSocketChannel . class ; default : throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } }