60 |
*/ |
*/ |
61 |
public class ServerSocket |
public class ServerSocket |
62 |
{ |
{ |
|
|
|
|
// Class Variables |
|
|
|
|
63 |
/** |
/** |
64 |
* This is the user defined SocketImplFactory, if one is supplied |
* This is the user defined SocketImplFactory, if one is supplied |
65 |
*/ |
*/ |
66 |
private static SocketImplFactory factory; |
private static SocketImplFactory factory; |
67 |
|
|
|
// Instance Variables |
|
|
|
|
68 |
/** |
/** |
69 |
* This is the SocketImp object to which most instance methods in this |
* This is the SocketImp object to which most instance methods in this |
70 |
* class are redirected |
* class are redirected |
90 |
impl = factory.createSocketImpl(); |
impl = factory.createSocketImpl(); |
91 |
else |
else |
92 |
impl = new PlainSocketImpl(); |
impl = new PlainSocketImpl(); |
93 |
|
|
94 |
|
impl.create(true); |
95 |
} |
} |
96 |
|
|
97 |
/** |
/** |