6965072: Need API to create SDP sockets

Reviewed-by: michaelm
This commit is contained in:
Alan Bateman 2010-09-03 13:11:54 +01:00
parent 1cef1a3806
commit 2fdbbbae4e
24 changed files with 806 additions and 89 deletions

View file

@ -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.
*