37 import java.util.HashSet; |
37 import java.util.HashSet; |
38 import java.util.Set; |
38 import java.util.Set; |
39 |
39 |
40 import sun.net.ConnectionResetException; |
40 import sun.net.ConnectionResetException; |
41 import sun.net.NetHooks; |
41 import sun.net.NetHooks; |
|
42 import sun.net.PlatformSocketImpl; |
42 import sun.net.ResourceManager; |
43 import sun.net.ResourceManager; |
43 import sun.net.TrustedSocketImpl; |
|
44 import sun.net.util.SocketExceptions; |
44 import sun.net.util.SocketExceptions; |
45 |
45 |
46 /** |
46 /** |
47 * Default Socket Implementation. This implementation does |
47 * Default Socket Implementation. This implementation does |
48 * not implement any security checks. |
48 * not implement any security checks. |
49 * Note this class should <b>NOT</b> be public. |
49 * Note this class should <b>NOT</b> be public. |
50 * |
50 * |
51 * @author Steven B. Byrne |
51 * @author Steven B. Byrne |
52 */ |
52 */ |
53 abstract class AbstractPlainSocketImpl extends SocketImpl implements TrustedSocketImpl { |
53 abstract class AbstractPlainSocketImpl extends SocketImpl implements PlatformSocketImpl { |
54 /* instance variable for SO_TIMEOUT */ |
54 /* instance variable for SO_TIMEOUT */ |
55 int timeout; // timeout in millisec |
55 int timeout; // timeout in millisec |
56 // traffic class |
56 // traffic class |
57 private int trafficClass; |
57 private int trafficClass; |
58 |
58 |