235236237238239240241242
{ ch.socket().setKeepAlive( on ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
247248249250251252253254
{ return ch.socket().getOOBInline(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
259260261262263264265266
{ ch.socket().setOOBInline( on ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
271272273274275276277278
{ return ch.socket().getReuseAddress(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
283284285286287288289290
{ ch.socket().setReuseAddress( on ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
295296297298299300301302
{ return ch.socket().getSoLinger(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
143144145146147148149150151152153
sendBufferSize = s.getSendBufferSize(); trafficClass = s.getTrafficClass(); } catch( SocketException e ) { throw new RuntimeIOException( "Failed to get the default configuration.", e ); } finally { if( s != null ) {
314315316317318319320321
ch.socket().setSoLinger( true, linger ); } } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
326327328329330331332333
{ return ch.socket().getTcpNoDelay(); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }
338339340341342343344345
{ ch.socket().setTcpNoDelay( on ); } catch( SocketException e ) { throw new RuntimeIOException( e ); } }