51525354555657
socket.setSoTimeout(1000); } catch (SocketException e) { throw new ChannelException( "Failed to configure the OioSocketChannel socket timeout.", e); } config = new DefaultSocketChannelConfig(socket); }