equal
deleted
inserted
replaced
32 */ |
32 */ |
33 |
33 |
34 public interface PlatformSocketImpl { |
34 public interface PlatformSocketImpl { |
35 |
35 |
36 /** |
36 /** |
37 * Creates a new instance of this SocketImpl. |
|
38 */ |
|
39 <S extends SocketImpl & PlatformSocketImpl> S newInstance(boolean server); |
|
40 |
|
41 /** |
|
42 * Invoked by ServerSocket to fix up the SocketImpl state after a connection |
37 * Invoked by ServerSocket to fix up the SocketImpl state after a connection |
43 * is accepted by a custom SocketImpl |
38 * is accepted by a custom SocketImpl |
44 */ |
39 */ |
45 void postCustomAccept() throws IOException; |
40 void postCustomAccept() throws IOException; |
46 |
41 |