Lines Matching defs:option
45 /** Tells whether or not the option is supported. */
46 public final boolean isOptionSupported(SocketOption<?> option) {
47 return options().contains(option);
53 /** Sets the value of a socket option, for the given socket. */
54 public abstract void setOption(FileDescriptor fd, SocketOption<?> option, Object value)
57 /** Returns the value of a socket option, for the given socket. */
58 public abstract Object getOption(FileDescriptor fd, SocketOption<?> option)
95 public void setOption(FileDescriptor fd, SocketOption<?> option, Object value)
99 "no extended options: " + option.name());
103 public Object getOption(FileDescriptor fd, SocketOption<?> option)
107 "no extended options: " + option.name());