2003-06-28 Michael Koch <konqueror@gmx.de>

* java/net/ServerSocket.java
	(setChannel): New method.
	* java/net/Socket.java
	(setChannel): New method.

From-SVN: r68631
This commit is contained in:
Michael Koch 2003-06-28 08:13:24 +00:00 committed by Michael Koch
parent b417ae14c8
commit c5b49e898e
3 changed files with 24 additions and 0 deletions

View file

@ -164,6 +164,14 @@ public class ServerSocket
bind (new InetSocketAddress (bindAddr, port), backlog);
}
/*
* This method may only be used by java.nio.channels.ServerSocketChannel.open.
*/
void setChannel (ServerSocketChannel ch)
{
this.ch = ch;
}
/**
* Binds the server socket to a specified socket address
*