mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6965072: Need API to create SDP sockets
Reviewed-by: michaelm
This commit is contained in:
parent
1cef1a3806
commit
2fdbbbae4e
24 changed files with 806 additions and 89 deletions
|
@ -68,6 +68,15 @@ class ServerSocket implements java.io.Closeable {
|
|||
*/
|
||||
private boolean oldImpl = false;
|
||||
|
||||
/**
|
||||
* Package-private constructor to create a ServerSocket associated with
|
||||
* the given SocketImpl.
|
||||
*/
|
||||
ServerSocket(SocketImpl impl) {
|
||||
this.impl = impl;
|
||||
impl.setServerSocket(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an unbound server socket.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue