Package jnr.unixsocket
Class UnixSocketOptions
java.lang.Object
jnr.unixsocket.UnixSocketOptions
Defines common socket options for AF_UNIX sockets.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SocketOption
<Boolean> Keep connection alive.static final SocketOption
<Boolean> Enable credential transmission.static final SocketOption
<Credentials> Fetch peer credentials.static final SocketOption
<Integer> Get/Set size of the socket receive buffer.static final SocketOption
<Integer> Get/Set receive timeout.static final SocketOption
<Integer> Get/Set size of the socket send buffer.static final SocketOption
<Integer> Get/Set send timeout. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SO_SNDBUF
Get/Set size of the socket send buffer. -
SO_SNDTIMEO
Get/Set send timeout. -
SO_RCVBUF
Get/Set size of the socket receive buffer. -
SO_RCVTIMEO
Get/Set receive timeout. -
SO_KEEPALIVE
Keep connection alive. -
SO_PEERCRED
Fetch peer credentials. -
SO_PASSCRED
Enable credential transmission.
-
-
Constructor Details
-
UnixSocketOptions
public UnixSocketOptions()
-