Lines Matching defs:on

156      * the subclass wishes to use on the Socket.
172 * number on the named host.
246 * Creates a socket and connects it to the specified remote host on
286 * Creates a socket and connects it to the specified remote address on
325 * number on the named host.
845 * <li><p>If there are no bytes buffered on the socket, or all
851 * <li><p>If there are no bytes buffered on the socket, and the
935 * @param on <code>true</code> to enable TCP_NODELAY,
945 public void setTcpNoDelay(boolean on) throws SocketException {
948 getImpl().setOption(SocketOptions.TCP_NODELAY, Boolean.valueOf(on));
972 * @param on whether or not to linger on.
973 * @param linger how long to linger for, if on is true.
980 public void setSoLinger(boolean on, int linger) throws SocketException {
983 if (!on) {
984 getImpl().setOption(SocketOptions.SO_LINGER, new Boolean(on));
1019 * Send one byte of urgent data on the socket. The byte to be sent is the lowest eight
1038 * By default, this option is disabled and TCP urgent data received on a
1048 * @param on <code>true</code> to enable OOBINLINE,
1058 public void setOOBInline(boolean on) throws SocketException {
1061 getImpl().setOption(SocketOptions.SO_OOBINLINE, Boolean.valueOf(on));
1082 * a read() call on the InputStream associated with this Socket
1160 * for output on this <tt>Socket</tt>.
1232 * input on this <tt>Socket</tt>.
1255 * @param on whether or not to have socket keep alive turned on.
1261 public void setKeepAlive(boolean on) throws SocketException {
1264 getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on));
1314 * TCP connection has been established depends on the implementation
1343 * set using the {@link #setTrafficClass(int)} method on this Socket.
1379 * @param on whether to enable or disable the socket option
1389 public void setReuseAddress(boolean on) throws SocketException {
1392 getImpl().setOption(SocketOptions.SO_REUSEADDR, Boolean.valueOf(on));
1448 * shutdownInput() on the socket, the stream will return EOF.
1477 * shutdownOutput() on the socket, the stream will throw