1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.newsclub.net.unix.darwin.system;
19
20 import java.io.FileDescriptor;
21 import java.net.SocketException;
22
23 import org.newsclub.net.unix.AFSYSTEMSocketAddress;
24 import org.newsclub.net.unix.AFSocketImpl;
25
26 final class AFSYSTEMSocketImpl extends AFSocketImpl<AFSYSTEMSocketAddress> {
27 AFSYSTEMSocketImpl(FileDescriptor fdObj) {
28 super(AFSYSTEMSelectorProvider.AF_SYSTEM, fdObj);
29 }
30
31 @Override
32 public Object getOption(int optID) throws SocketException {
33 return getOptionLenient(optID);
34 }
35
36 @Override
37 public void setOption(int optID, Object value) throws SocketException {
38 setOptionLenient(optID, value);
39 }
40 }