* java/net/ServerSocket.java
(setChannel): New method.
* java/net/Socket.java
(setChannel): New method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68631
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-06-28 Michael Koch <konqueror@gmx.de>
+
+ * java/net/ServerSocket.java
+ (setChannel): New method.
+ * java/net/Socket.java
+ (setChannel): New method.
+
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/beans/beancontext/BeanContextSupport.java:
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
*
// that default. JDK 1.2 doc infers not to do a bind.
}
+ /*
+ * This method may only be used by java.nio.channels.ServerSocketChannel.accept and
+ * java.nio.channels.SocketChannel.open.
+ */
+ void setChannel (SocketChannel ch)
+ {
+ this.ch = ch;
+ }
+
/**
* Binds the socket to the givent local address/port
*