76 |
private boolean closed = false; |
private boolean closed = false; |
77 |
|
|
78 |
/* |
/* |
79 |
* This is only used by java.nio. |
* This constructor is only used by java.nio. |
80 |
*/ |
*/ |
81 |
// FIXME: Workaround a bug in gcj. |
// FIXME: Workaround a bug in gcj. |
82 |
//ServerSocket (PlainSocketImpl impl) throws IOException |
//ServerSocket (PlainSocketImpl impl) throws IOException |
85 |
this.impl = impl; |
this.impl = impl; |
86 |
this.impl.create (true); |
this.impl.create (true); |
87 |
} |
} |
88 |
|
|
89 |
|
/* |
90 |
|
* This method is only used by java.nio. |
91 |
|
*/ |
92 |
|
// FIXME: Workaround a bug in gcj. |
93 |
|
//PlainSocketImpl getImpl() |
94 |
|
SocketImpl getImpl() |
95 |
|
{ |
96 |
|
return impl; |
97 |
|
} |
98 |
|
|
99 |
/** |
/** |
100 |
* Constructor that simply sets the implementation. |
* Constructor that simply sets the implementation. |