OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SocketOptions
(Results
1 - 25
of
31
) sorted by null
1
2
/libcore/luni/src/main/java/java/net/
PlainServerSocketImpl.java
23
import java.net.
SocketOptions
;
40
setOption(
SocketOptions
.SO_REUSEADDR, Boolean.TRUE);
SocketOptions.java
29
public interface
SocketOptions
{
MulticastSocket.java
82
InetAddress ipvXaddress = (InetAddress) impl.getOption(
SocketOptions
.IP_MULTICAST_IF);
109
int index = (Integer) impl.getOption(
SocketOptions
.IP_MULTICAST_IF2);
281
impl.setOption(
SocketOptions
.IP_MULTICAST_IF2, networkInterface.getIndex());
297
impl.setOption(
SocketOptions
.IP_MULTICAST_IF2, networkInterface.getIndex());
333
impl.setOption(
SocketOptions
.SO_REUSEADDR, Boolean.TRUE);
344
* See {@link
SocketOptions
#IP_MULTICAST_LOOP}, and note that the sense of this is the
351
return !((Boolean) impl.getOption(
SocketOptions
.IP_MULTICAST_LOOP)).booleanValue();
356
* See {@link
SocketOptions
#IP_MULTICAST_LOOP}, and note that the sense of this is the
364
impl.setOption(
SocketOptions
.IP_MULTICAST_LOOP, Boolean.valueOf(!disable));
Socket.java
367
* Returns this socket's {@link
SocketOptions
#SO_KEEPALIVE} setting.
371
return (Boolean) impl.getOption(
SocketOptions
.SO_KEEPALIVE);
423
* Returns this socket's {@link
SocketOptions
#SO_LINGER linger} timeout in seconds, or -1
428
// The RI explicitly guarantees this idiocy in the
SocketOptions
.setOption documentation.
429
Object value = impl.getOption(
SocketOptions
.SO_LINGER);
438
* Returns this socket's {@link
SocketOptions
#SO_RCVBUF receive buffer size}.
442
return (Integer) impl.getOption(
SocketOptions
.SO_RCVBUF);
446
* Returns this socket's {@link
SocketOptions
#SO_SNDBUF send buffer size}.
450
return (Integer) impl.getOption(
SocketOptions
.SO_SNDBUF);
454
* Returns this socket's {@link
SocketOptions
#SO_TIMEOUT receive timeout}
[
all
...]
ServerSocket.java
194
* Gets the socket {@link
SocketOptions
#SO_TIMEOUT accept timeout}.
201
return ((Integer) impl.getOption(
SocketOptions
.SO_TIMEOUT)).intValue();
240
* Sets the {@link
SocketOptions
#SO_TIMEOUT accept timeout} in milliseconds for this socket.
255
impl.setOption(
SocketOptions
.SO_TIMEOUT, Integer.valueOf(timeout));
385
* Sets the value for the socket option {@code
SocketOptions
.SO_REUSEADDR}.
394
impl.setOption(
SocketOptions
.SO_REUSEADDR, Boolean.valueOf(reuse));
398
* Gets the value of the socket option {@code
SocketOptions
.SO_REUSEADDR}.
406
return ((Boolean) impl.getOption(
SocketOptions
.SO_REUSEADDR)).booleanValue();
410
* Sets this socket's {@link
SocketOptions
#SO_SNDBUF receive buffer size}.
417
impl.setOption(
SocketOptions
.SO_RCVBUF, Integer.valueOf(size))
[
all
...]
DatagramSocket.java
226
* Returns this socket's {@link
SocketOptions
#SO_RCVBUF receive buffer size}.
230
return ((Integer) impl.getOption(
SocketOptions
.SO_RCVBUF)).intValue();
234
* Returns this socket's {@link
SocketOptions
#SO_SNDBUF send buffer size}.
238
return ((Integer) impl.getOption(
SocketOptions
.SO_SNDBUF)).intValue();
242
* Gets the socket {@link
SocketOptions
#SO_TIMEOUT receive timeout}.
249
return ((Integer) impl.getOption(
SocketOptions
.SO_TIMEOUT)).intValue();
329
* Sets this socket's {@link
SocketOptions
#SO_SNDBUF send buffer size}.
336
impl.setOption(
SocketOptions
.SO_SNDBUF, Integer.valueOf(size));
340
* Sets this socket's {@link
SocketOptions
#SO_SNDBUF receive buffer size}.
347
impl.setOption(
SocketOptions
.SO_RCVBUF, Integer.valueOf(size))
[
all
...]
DatagramSocketImpl.java
26
public abstract class DatagramSocketImpl implements
SocketOptions
{
SocketImpl.java
34
public abstract class SocketImpl implements
SocketOptions
{
PlainDatagramSocketImpl.java
67
setOption(
SocketOptions
.SO_BROADCAST, Boolean.TRUE);
PlainSocketImpl.java
105
newImpl.setOption(
SocketOptions
.SO_TIMEOUT, Integer.valueOf(0));
/frameworks/base/core/java/android/net/
LocalSocket.java
24
import java.net.
SocketOptions
;
220
impl.setOption(
SocketOptions
.SO_RCVBUF, Integer.valueOf(size));
224
return ((Integer) impl.getOption(
SocketOptions
.SO_RCVBUF)).intValue();
228
impl.setOption(
SocketOptions
.SO_TIMEOUT, Integer.valueOf(n));
232
return ((Integer) impl.getOption(
SocketOptions
.SO_TIMEOUT)).intValue();
236
impl.setOption(
SocketOptions
.SO_SNDBUF, Integer.valueOf(n));
240
return ((Integer) impl.getOption(
SocketOptions
.SO_SNDBUF)).intValue();
LocalSocketImpl.java
23
import java.net.
SocketOptions
;
437
if (optID ==
SocketOptions
.SO_TIMEOUT) {
444
case
SocketOptions
.SO_RCVBUF:
445
case
SocketOptions
.SO_SNDBUF:
447
case
SocketOptions
.SO_REUSEADDR:
/libcore/luni/src/main/java/libcore/io/
IoBridge.java
40
import java.net.
SocketOptions
;
241
// Socket options used by java.net but not exposed in
SocketOptions
.
264
case
SocketOptions
.IP_MULTICAST_IF:
267
case
SocketOptions
.IP_MULTICAST_IF2:
270
case
SocketOptions
.IP_MULTICAST_LOOP:
278
case
SocketOptions
.IP_TOS:
282
case
SocketOptions
.SO_BROADCAST:
284
case
SocketOptions
.SO_KEEPALIVE:
286
case
SocketOptions
.SO_LINGER:
292
case
SocketOptions
.SO_OOBINLINE
[
all
...]
/external/chromium_org/net/udp/
udp_socket_libevent.h
170
enum
SocketOptions
{
246
// Bitwise-or'd combination of
SocketOptions
. Specifies the set of
udp_socket_win.h
171
enum
SocketOptions
{
219
// Bitwise-or'd combination of
SocketOptions
. Specifies the set of
/external/chromium_org/third_party/libaddressinput/src/java/
android.jar
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/16/
android.jar
/prebuilts/sdk/20/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
Completed in 126 milliseconds
1
2