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:
parent
b417ae14c8
commit
c5b49e898e
3 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue